Set client max body size to 0

This commit is contained in:
Sebastien Mennetrier 2021-01-11 16:38:49 +01:00
parent c325b60c72
commit b79dd17acd

View File

@ -8,6 +8,9 @@ location / {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
client_max_body_size 0;
proxy_set_header Accept-Encoding "";
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host;