From c9fe2f5d83ddb5222ce90b7a18bc1ac1209ca797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 18 May 2022 00:19:03 +0200 Subject: [PATCH] increase nginx limits even further --- roles/webgateway/templates/nginx.conf | 2 +- roles/webserver/templates/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/webgateway/templates/nginx.conf b/roles/webgateway/templates/nginx.conf index 4bded89..70c4665 100644 --- a/roles/webgateway/templates/nginx.conf +++ b/roles/webgateway/templates/nginx.conf @@ -74,7 +74,7 @@ http { proxy_ssl_name {{ proxysite.domain}}; ssl_certificate /etc/letsencrypt/live/{{ proxysite.domain }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ proxysite.domain }}/privkey.pem; - client_max_body_size 2G; + client_max_body_size 8G; location /{ proxy_pass https://{{ proxysite.ip }}; proxy_ssl_verify off; diff --git a/roles/webserver/templates/nginx.conf b/roles/webserver/templates/nginx.conf index 8af5286..e160297 100644 --- a/roles/webserver/templates/nginx.conf +++ b/roles/webserver/templates/nginx.conf @@ -69,7 +69,7 @@ http { server_name {{ server.domain }}; ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key; - client_max_body_size 2G; + client_max_body_size 8G; location /{ proxy_pass http://127.0.0.1:{{ server.port }}; }