diff --git a/docker-compose.yml b/docker-compose.yml index 89b2db80..dd1471af 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/nginx-proxy/conf.d/nopaque_specifics.conf b/nginx-proxy/conf.d/nopaque_specifics.conf new file mode 100644 index 00000000..478dfaa9 --- /dev/null +++ b/nginx-proxy/conf.d/nopaque_specifics.conf @@ -0,0 +1 @@ +client_max_body_size 1024M; diff --git a/nginx-proxy/vhost.d/nopaque.localhost b/nginx-proxy/vhost.d/nopaque.localhost index 4350bfc9..42c7fc96 100644 --- a/nginx-proxy/vhost.d/nopaque.localhost +++ b/nginx-proxy/vhost.d/nopaque.localhost @@ -1,5 +1,3 @@ -client_max_body_size 1024M; - location /socket.io { proxy_http_version 1.1; proxy_buffering off;