Set Server.AcceptProxyIPs
This commit is contained in:
parent
7310f67fc7
commit
2c723823b0
@ -58,6 +58,7 @@ func main() {
|
|||||||
srv.Hostname = cfg.Hostname
|
srv.Hostname = cfg.Hostname
|
||||||
srv.LogPath = cfg.LogPath
|
srv.LogPath = cfg.LogPath
|
||||||
srv.HTTPOrigins = cfg.HTTPOrigins
|
srv.HTTPOrigins = cfg.HTTPOrigins
|
||||||
|
srv.AcceptProxyIPs = cfg.AcceptProxyIPs
|
||||||
srv.Debug = debug
|
srv.Debug = debug
|
||||||
|
|
||||||
for _, listen := range cfg.Listen {
|
for _, listen := range cfg.Listen {
|
||||||
|
Loading…
Reference in New Issue
Block a user