Update nginx.conf

pull/11/head
WMLbrowser 2021-02-06 18:27:05 +08:00 committed by GitHub
parent 466abebfd9
commit c3568e2d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ http {
server_name _;
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.
include /etc/nginx/default.d/*.conf;