1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pelican_ynh.git synced 2024-09-03 19:46:35 +02:00

Update nginx.conf

This commit is contained in:
Ylies Chahi 2017-07-25 21:36:49 +02:00 committed by GitHub
parent d72c4a1053
commit cda837f9f1

View file

@ -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 {