fix size stuff

This commit is contained in:
Torma Kristóf 2022-05-18 00:27:42 +02:00
parent c9fe2f5d83
commit e9e875d420
2 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,7 @@ http {
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
proxy_ssl_server_name on; proxy_ssl_server_name on;
client_max_body_size 10m; client_max_body_size 8G;
client_body_buffer_size 128k; client_body_buffer_size 128k;
proxy_connect_timeout 90; proxy_connect_timeout 90;
proxy_send_timeout 120; proxy_send_timeout 120;
@ -74,7 +74,6 @@ http {
proxy_ssl_name {{ proxysite.domain}}; proxy_ssl_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 8G;
location /{ location /{
proxy_pass https://{{ proxysite.ip }}; proxy_pass https://{{ proxysite.ip }};
proxy_ssl_verify off; proxy_ssl_verify off;

View File

@ -43,7 +43,7 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
client_max_body_size 10m; client_max_body_size 8G;
client_body_buffer_size 128k; client_body_buffer_size 128k;
proxy_connect_timeout 90; proxy_connect_timeout 90;
proxy_send_timeout 120; proxy_send_timeout 120;
@ -69,7 +69,6 @@ http {
server_name {{ server.domain }}; server_name {{ server.domain }};
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
client_max_body_size 8G;
location /{ location /{
proxy_pass http://127.0.0.1:{{ server.port }}; proxy_pass http://127.0.0.1:{{ server.port }};
} }