mirror of https://github.com/XTLS/Xray-examples
Update nginx.conf
parent
466abebfd9
commit
c3568e2d81
|
@ -49,7 +49,8 @@ http {
|
||||||
server_name _;
|
server_name _;
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
set_real_ip_from 127.0.0.1;
|
set_real_ip_from unix:;
|
||||||
|
real_ip_header proxy_protocol;
|
||||||
|
|
||||||
# Load configuration files for the default server block.
|
# Load configuration files for the default server block.
|
||||||
include /etc/nginx/default.d/*.conf;
|
include /etc/nginx/default.d/*.conf;
|
||||||
|
|
Loading…
Reference in New Issue