Merge pull request #3 from lxhao61/patch-1

更正 nginx.conf
This commit is contained in:
Kslr 2020-08-13 04:21:35 +08:00 committed by GitHub
commit 6da95f070c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ worker_rlimit_nofile 65535;
error_log logs/error.log warn; error_log logs/error.log warn;
pid logs/nginx.pid;; pid logs/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
@ -17,7 +17,7 @@ http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
index index.html index.htm index index.html index.htm;
proxy_set_header X-Real-IP $proxy_protocol_addr; proxy_set_header X-Real-IP $proxy_protocol_addr;
proxy_set_header X-Forwarded-For $proxy_protocol_addr; proxy_set_header X-Forwarded-For $proxy_protocol_addr;