Support reverse proxy's real IP header

This commit is contained in:
2023-01-17 21:01:29 +08:00
parent a2e5b9d24d
commit 13b303ea3f
3 changed files with 29 additions and 9 deletions

View File

@@ -16,7 +16,10 @@ skin_root_url = http://localhost:8080
[server]
;服务监听地址
server_address = :8080
server_address = :8080
;反向代理信任地址
trusted_proxies = 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12
[database]
; Database driver type, mysql or sqlite