From 8ce0bde89ebba11b377199af47011acdade6cd05 Mon Sep 17 00:00:00 2001 From: dpeca Date: Mon, 23 Sep 2019 15:10:40 +0200 Subject: [PATCH] Do not try_files if static file not exists --- install/debian/10/templates/web/nginx/private-force-https.stpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/debian/10/templates/web/nginx/private-force-https.stpl b/install/debian/10/templates/web/nginx/private-force-https.stpl index bdb7eedb..38532e6b 100644 --- a/install/debian/10/templates/web/nginx/private-force-https.stpl +++ b/install/debian/10/templates/web/nginx/private-force-https.stpl @@ -15,7 +15,7 @@ server { access_log /var/log/%web_system%/domains/%domain%.log combined; access_log /var/log/%web_system%/domains/%domain%.bytes bytes; expires max; - try_files $uri @fallback; + # try_files $uri @fallback; } }