servo: uninsane.org: remove public logging; these don't go anywhere, with goaccess being disabled

This commit is contained in:
2025-06-14 20:08:26 +00:00
parent 8238ac10f5
commit 58e72a6457

View File

@@ -1,8 +1,4 @@
{ pkgs, ... }:
let
# "public" log so requests show up in metrics
logfile = "/var/log/nginx/public.log";
in
{
# web blog/personal site
# alternative way to link stuff into the share:
@@ -18,9 +14,10 @@ in
# for OCSP stapling
sslTrustedCertificate = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
extraConfig = ''
access_log ${logfile} vcombined;
'';
# extraConfig = ''
# # "public" log so requests show up in goaccess metrics
# access_log /var/log/nginx/public.log vcombined;
# '';
locations."/" = {
root = "${pkgs.uninsane-dot-org}/share/uninsane-dot-org";