servo: uninsane.org: remove public logging; these don't go anywhere, with goaccess being disabled
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
|
||||||
# "public" log so requests show up in metrics
|
|
||||||
logfile = "/var/log/nginx/public.log";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
# web blog/personal site
|
# web blog/personal site
|
||||||
# alternative way to link stuff into the share:
|
# alternative way to link stuff into the share:
|
||||||
@@ -18,9 +14,10 @@ in
|
|||||||
# for OCSP stapling
|
# for OCSP stapling
|
||||||
sslTrustedCertificate = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
sslTrustedCertificate = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
|
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
access_log ${logfile} vcombined;
|
# # "public" log so requests show up in goaccess metrics
|
||||||
'';
|
# access_log /var/log/nginx/public.log vcombined;
|
||||||
|
# '';
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "${pkgs.uninsane-dot-org}/share/uninsane-dot-org";
|
root = "${pkgs.uninsane-dot-org}/share/uninsane-dot-org";
|
||||||
|
Reference in New Issue
Block a user