Try to move the config to a different section

This commit is contained in:
Andreas Zweili 2022-06-27 18:22:13 +02:00
parent be2ceaea68
commit 3f40f860db
1 changed files with 5 additions and 3 deletions

View File

@ -42,9 +42,6 @@
# This might create errors
proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
# Required for large downloads
proxy_buffering off;
client_max_body_size 20G;
'';
virtualHosts."nextcloud.2li.ch" = {
enableACME = true;
@ -53,6 +50,11 @@
proxyPass = "http://127.0.0.1:8080";
proxyWebsockets = true; # needed if you need to use WebSocket
};
extraConfig = ''
# Required for large downloads
proxy_buffering off;
client_max_body_size 20G;
'';
};
};
}