consolidate ssl-params and proxy_params

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
2023-04-27 15:47:27 -07:00
parent ba849311ec
commit 8ec95a3b1b
16 changed files with 56 additions and 58 deletions

13
proxy-params.conf Normal file
View File

@@ -0,0 +1,13 @@
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_buffering off;
client_max_body_size 0;
proxy_connect_timeout 3600s;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
send_timeout 3600s;
proxy_redirect default;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;