From c387b1766a428817fe565f4a05887e4739557bd4 Mon Sep 17 00:00:00 2001 From: Josh Chorlton Date: Wed, 27 May 2020 12:29:05 -0700 Subject: [PATCH] don't try directories on request --- nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index ed11d3a..ba4d9aa 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,11 +1,11 @@ server { listen 80; - + location / { root /usr/share/nginx/html; index index.html index.htm; - try_files $uri $uri/ /index.html =404; + try_files $uri /index.html =404; } - + include /etc/nginx/extra-conf.d/*.conf; }