mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Previously we sometimes set it to $proxy_add_x_forwarded_for and other times to $remote_addr, but according to http://wiki.nginx.org/HttpProxyModule#.24proxy_add_x_forwarded_for $proxy_add_x_forwarded_for handles this for us -- it will be $remote_addr if there was no X-Forwarded-For header anyway. (imported from commit 67dc52250e3e7751b1bf375d1a71d0272475435c)
2 lines
40 B
Plaintext
2 lines
40 B
Plaintext
include /etc/nginx/zulip-include/proxy;
|