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 {