From bcf821dc58d2ecc3a1c99497caf9c26f4cbbd3ad Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 19 Oct 2024 17:56:45 -0400 Subject: [PATCH] Try try_files. --- docker/server/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/server/nginx.conf b/docker/server/nginx.conf index 61d2562..8281478 100644 --- a/docker/server/nginx.conf +++ b/docker/server/nginx.conf @@ -31,6 +31,8 @@ http { root /srv/http/public; location / { + try_files $uri $uri/ =404; + index index.html index.htm; if (-d $request_filename) { rewrite [^/]$ $http_x_forwarded_proto://$http_host$uri/ redirect;