client max body size fix

This commit is contained in:
2021-04-29 17:41:33 +00:00
parent f2ede0f1e6
commit 5284b7c459
3 changed files with 4 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ server {
set $theia theia;
set $flaskfetfotos "flaskfetfotos:8080";
set $etherpad "etherpad:9001";
client_max_body_size 10M;
location /fotos {
proxy_ssl_server_name on;
proxy_ssl_verify off;

View File

@@ -3,7 +3,7 @@ server {
error_log /var/log/nginx/error.log notice;
rewrite_log on;
client_max_body_size 10M;
location /assets {
alias /app/assets;
try_files $uri =404;

View File

@@ -6,6 +6,7 @@ server {
set $theia theia;
set $flaskfetfotos "flaskfetfotos:8080";
set $etherpad "etherpad:9001";
client_max_body_size 10M;
location /fotos {
proxy_ssl_server_name on;
proxy_ssl_verify off;