summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-01 16:44:04 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-01 16:44:04 +0200
commit6ecfd1a3a13ea97aa81bc4568376292089c8f249 (patch)
treef2cd714d3e151b5de70ff5aa2b48986f19454c98
parentAlways serve index.html by default (diff)
downloadRory-Open-Architecture-6ecfd1a3a13ea97aa81bc4568376292089c8f249.tar.xz
Always serve index.html by default
-rwxr-xr-xhost/Rory-nginx/hosts/rory.gay/mru.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Rory-nginx/hosts/rory.gay/mru.nix b/host/Rory-nginx/hosts/rory.gay/mru.nix
index d309946..70c0db3 100755
--- a/host/Rory-nginx/hosts/rory.gay/mru.nix
+++ b/host/Rory-nginx/hosts/rory.gay/mru.nix
@@ -13,7 +13,7 @@
         add_header 'Access-Control-Max-Age' 1728000;
 
         # default to /index.html if file not found
-        try_files $uri $uri/ index.html;
+        try_files $uri $uri/ /index.html;
       '';
     };
   };