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

@@ -5,7 +5,8 @@ server {
resolver 127.0.0.11 valid=30s; resolver 127.0.0.11 valid=30s;
set $theia theia; set $theia theia;
set $flaskfetfotos "flaskfetfotos:8080"; set $flaskfetfotos "flaskfetfotos:8080";
set $etherpad "etherpad:9001"; set $etherpad "etherpad:9001";
client_max_body_size 10M;
location /fotos { location /fotos {
proxy_ssl_server_name on; proxy_ssl_server_name on;
proxy_ssl_verify off; proxy_ssl_verify off;

View File

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

View File

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