fix configs

This commit is contained in:
Arthur Lu 2023-04-27 22:53:49 +00:00
parent 8ec95a3b1b
commit 9e49545d24
2 changed files with 6 additions and 6 deletions

View File

@ -26,12 +26,12 @@ http {
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
# ssl parameters
include /etc/nginx/ssl-params.conf
# proxy parameters
include /etc/nginx/proxy-params.conf
# include sites
include /etc/nginx/sites/*;
# ssl parameters
include /etc/nginx/ssl-params.conf;
# proxy parameters
include /etc/nginx/proxy-params.conf;
}

View File

@ -7,7 +7,7 @@ proxy_connect_timeout 3600s;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
send_timeout 3600s;
proxy_redirect default;
#proxy_redirect default;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;