on master help sign in
Use stdout for nginx's access log by default

Otherwise nginx will save access logs to disk which can fill up the disk

commit5c656cb36843c048184ad99344ef9537daaf1d02 authorElliot Cameron <3noch@users.noreply.github.com> dateTue 21 Jul 2020, 15:22 (6 years ago) parent9acce71
1 file changed+3
default.nix+3
default.nix+3
@@ -137,6 +137,9 @@ in rec {
137137 locations.${baseUrl} = {
138138 proxyPass = "http://127.0.0.1:" + toString internalPort;
139139 proxyWebsockets = true;
140+ extraConfig = ''
141+ access_log stdout;
142+ '';
140143 };
141144 };
142145 };