fix configs
This commit is contained in:
parent
8ec95a3b1b
commit
9e49545d24
10
nginx.conf
10
nginx.conf
@ -26,12 +26,12 @@ http {
|
|||||||
gzip_http_version 1.1;
|
gzip_http_version 1.1;
|
||||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
|
# include sites
|
||||||
|
include /etc/nginx/sites/*;
|
||||||
|
|
||||||
# ssl parameters
|
# ssl parameters
|
||||||
include /etc/nginx/ssl-params.conf
|
include /etc/nginx/ssl-params.conf;
|
||||||
|
|
||||||
# proxy parameters
|
# proxy parameters
|
||||||
include /etc/nginx/proxy-params.conf
|
include /etc/nginx/proxy-params.conf;
|
||||||
|
|
||||||
# include sites
|
|
||||||
include /etc/nginx/sites/*;
|
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ proxy_connect_timeout 3600s;
|
|||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
proxy_send_timeout 3600s;
|
proxy_send_timeout 3600s;
|
||||||
send_timeout 3600s;
|
send_timeout 3600s;
|
||||||
proxy_redirect default;
|
#proxy_redirect default;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
Loading…
Reference in New Issue
Block a user