From 908bdd5b333abd35d225292f9694fdaa7071c1e7 Mon Sep 17 00:00:00 2001 From: dpeca Date: Mon, 23 Sep 2019 15:08:16 +0200 Subject: [PATCH] Do not try_files if static file not exists --- install/debian/10/templates/web/nginx/hosting.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/debian/10/templates/web/nginx/hosting.tpl b/install/debian/10/templates/web/nginx/hosting.tpl index 15961c95c..262417b19 100755 --- a/install/debian/10/templates/web/nginx/hosting.tpl +++ b/install/debian/10/templates/web/nginx/hosting.tpl @@ -10,7 +10,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; } }