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