From: Ben Larson <10101828+ben-larson@users.noreply.github.com> Date: Wed, 9 Jun 2021 01:25:48 +0000 (-0500) Subject: Fix trailing slash bug X-Git-Url: http://git.neb.cc/?a=commitdiff_plain;h=762b27e2acab1546c647b1c307b5f529cfcdd562;p=xyz.git Fix trailing slash bug --- diff --git a/nginx.conf b/nginx.conf index c38d18b..c317936 100644 --- a/nginx.conf +++ b/nginx.conf @@ -21,5 +21,6 @@ http { server_name localhost; root /usr/share/nginx/html; index index.html; + try_files $uri $uri/index.html =404; } } diff --git a/src/index.html b/src/index.html index 49316a9..86c45ad 100644 --- a/src/index.html +++ b/src/index.html @@ -7,7 +7,7 @@ />