Fix max body size

When we push a big git fragement by https nginx refuse the request
This commit is contained in:
Josué Tille 2019-02-14 09:47:27 +01:00
parent 7208be5525
commit 1c213a9ad8
No known key found for this signature in database
GPG Key ID: D5E068C6DFA8681D

View File

@ -4,8 +4,8 @@ location __PATH__/ {
proxy_set_header Host $host;
proxy_buffering off;
fastcgi_param REMOTE_USER $remote_user;
client_max_body_size 50M;
client_max_body_size 200M;
# Force https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;