adjust proxy stuff
This commit is contained in:
parent
ba96e12495
commit
e62a35af50
@ -46,9 +46,10 @@ http {
|
|||||||
client_max_body_size 10m;
|
client_max_body_size 10m;
|
||||||
client_body_buffer_size 128k;
|
client_body_buffer_size 128k;
|
||||||
proxy_connect_timeout 90;
|
proxy_connect_timeout 90;
|
||||||
proxy_send_timeout 90;
|
proxy_send_timeout 120;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 300;
|
||||||
proxy_buffers 32 4k;
|
proxy_buffering off;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
@ -65,6 +66,8 @@ http {
|
|||||||
server_name {{ proxysite.domain }};
|
server_name {{ proxysite.domain }};
|
||||||
ssl_certificate /etc/letsencrypt/live/{{ proxysite.domain }}/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/{{ proxysite.domain }}/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem;
|
||||||
|
client_max_body_size 2G;
|
||||||
|
proxy_max_temp_file_size 4G;
|
||||||
location /{
|
location /{
|
||||||
proxy_pass https://{{ proxysite.ip }};
|
proxy_pass https://{{ proxysite.ip }};
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
|
Loading…
Reference in New Issue
Block a user