mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Fix max body size
When we push a big git fragement by https nginx refuse the request
This commit is contained in:
parent
7208be5525
commit
1c213a9ad8
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ location __PATH__/ {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
client_max_body_size 50M;
|
client_max_body_size 200M;
|
||||||
|
|
||||||
# Force https
|
# Force https
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
|
Loading…
Add table
Reference in a new issue