Merge pull request #252 from nr23730/patch-1

Set client_max_body_size for greenlight
This commit is contained in:
chandi Langecker 2023-03-24 23:03:15 +01:00 committed by GitHub
commit ad484aa870
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,27 +5,28 @@
location /b { location /b {
proxy_pass http://host.docker.internal:5000; proxy_pass http://host.docker.internal:5000;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Ssl on;
proxy_http_version 1.1; proxy_http_version 1.1;
client_max_body_size 1000m;
} }
location /b/cable { location /b/cable {
proxy_pass http://host.docker.internal:5000; proxy_pass http://host.docker.internal:5000;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Ssl on;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_read_timeout 6h; proxy_read_timeout 6h;
proxy_send_timeout 6h; proxy_send_timeout 6h;
client_body_timeout 6h; client_body_timeout 6h;
send_timeout 6h; send_timeout 6h;
} }
# this is necessary for the preupload_presentation feature # this is necessary for the preupload_presentation feature