From a03a01eecc418f4f1cbdead28e50a31407c179e7 Mon Sep 17 00:00:00 2001 From: dpeca Date: Mon, 23 Sep 2019 15:09:38 +0200 Subject: [PATCH] Do not try_files if static file not exists --- install/debian/10/templates/web/nginx/private-hosting.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/debian/10/templates/web/nginx/private-hosting.tpl b/install/debian/10/templates/web/nginx/private-hosting.tpl index aa483ec91..da70045f9 100644 --- a/install/debian/10/templates/web/nginx/private-hosting.tpl +++ b/install/debian/10/templates/web/nginx/private-hosting.tpl @@ -12,7 +12,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; } }