Merge pull request #573 from genebean/logs

log per vhost
This commit is contained in:
Gene Liverman 2025-11-28 10:16:07 -05:00 committed by GitHub
commit 87ded4bcde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -229,6 +229,9 @@ in {
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:8001"; locations."/".proxyPass = "http://127.0.0.1:8001";
locations."/".proxyWebsockets = true; locations."/".proxyWebsockets = true;
extraConfig = ''
access_log /var/log/nginx/stats.${domain}.log;
'';
}; };
"utk.${domain}" = { "utk.${domain}" = {
serverAliases = [ serverAliases = [