mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
module.services.nginx: fix gitea timeout
This commit is contained in:
@@ -51,6 +51,8 @@ inputs:
|
||||
# allow realip module to set ip
|
||||
set_real_ip_from 0.0.0.0/0;
|
||||
real_ip_header proxy_protocol;
|
||||
# gitea needs long time to upload/download large files over ssh
|
||||
client_body_timeout 1h;
|
||||
'';
|
||||
proxyTimeout = "1d";
|
||||
recommendedZstdSettings = true;
|
||||
|
||||
Reference in New Issue
Block a user