about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/camden/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 77f18d3cf297..e809446bb6d5 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -142,7 +142,7 @@ in pkgs.lib.fix(self: {
           '"http_user_agent":"$http_user_agent"'
       '}';
 
-      access_log /var/log/nginx_access.log json_combined;
+      access_log syslog:server=unix:/dev/log json_combined;
     '';
 
     virtualHosts.homepage = {
@@ -168,6 +168,10 @@ in pkgs.lib.fix(self: {
 
           try_files $uri $uri.html $uri/ =404;
         }
+
+        location /blobs/ {
+          alias /var/www/blobs/;
+        }
       '';
     };
   };