]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix virtual host in httpd logs
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 1 Jul 2019 20:06:47 +0000 (22:06 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 1 Jul 2019 20:06:47 +0000 (22:06 +0200)
modules/private/websites/default.nix

index 0d420ea0905cd7c225c89e404631ba9c91f67db1..add4e4220999fce6f608deccde2b6581bcd7d407 100644 (file)
@@ -56,7 +56,7 @@ let
     };
     customLog = {
       extraConfig = ''
-        LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedVhost
+        LogFormat "%{Host}i:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedVhost
       '';
     };
   };