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:
parent
d72c4a1053
commit
cda837f9f1
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue