l git: allow bigger payload in proxy_pass
This commit is contained in:
parent
210ef5ac52
commit
9c35e8da10
@ -7,5 +7,15 @@
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
locations = config.services.nginx.virtualHosts.cgit.locations;
|
locations = config.services.nginx.virtualHosts.cgit.locations;
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 300M;
|
||||||
|
client_body_timeout 2024;
|
||||||
|
client_header_timeout 2024;
|
||||||
|
|
||||||
|
fastcgi_buffers 16 512k;
|
||||||
|
fastcgi_buffer_size 512k;
|
||||||
|
fastcgi_read_timeout 500;
|
||||||
|
fastcgi_send_timeout 500;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,5 +9,15 @@
|
|||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 300M;
|
||||||
|
client_body_timeout 2024;
|
||||||
|
client_header_timeout 2024;
|
||||||
|
|
||||||
|
fastcgi_buffers 16 512k;
|
||||||
|
fastcgi_buffer_size 512k;
|
||||||
|
fastcgi_read_timeout 500;
|
||||||
|
fastcgi_send_timeout 500;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user