increase body size
This commit is contained in:
parent
95cb1fdf31
commit
87f57020bc
@ -74,6 +74,7 @@ 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 2G;
|
||||||
location /{
|
location /{
|
||||||
proxy_pass https://{{ proxysite.ip }};
|
proxy_pass https://{{ proxysite.ip }};
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
|
@ -69,6 +69,7 @@ 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 2G;
|
||||||
location /{
|
location /{
|
||||||
proxy_pass http://127.0.0.1:{{ server.port }};
|
proxy_pass http://127.0.0.1:{{ server.port }};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user