set file upload size the proper way

This commit is contained in:
Patrick Jentsch 2020-02-05 17:20:06 +01:00
parent 004e85aad0
commit 6ba87a06c4
3 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,7 @@ services:
image: jwilder/nginx-proxy:latest
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx-proxy/conf.d/nopaque_specifics.conf:/etc/nginx/conf.d/nopaque_specifics.conf:ro
- ./nginx-proxy/vhost.d:/etc/nginx/vhost.d:ro
# - ./certs:/etc/nginx/certs
web:

View File

@ -0,0 +1 @@
client_max_body_size 1024M;

View File

@ -1,5 +1,3 @@
client_max_body_size 1024M;
location /socket.io {
proxy_http_version 1.1;
proxy_buffering off;