From cda837f9f1a97f2a1767300e91e2484392592ef6 Mon Sep 17 00:00:00 2001 From: Ylies Chahi Date: Tue, 25 Jul 2017 21:36:49 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 172abcf..3ebbcca 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,11 @@ location {LOCATION} { alias {DESTDIR}/www/output; + default_type "text/html"; + # Default indexes and catch-all index index.html index.php; - try_files $uri $uri/ {PATH}/index.php?$args; + try_files $uri.html $uri/ =404; # Prevent useless logs location = {PATH}/favicon.ico {