1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pelican_ynh.git synced 2024-09-03 19:46:35 +02:00
pelican_ynh/conf/nginx.conf
2017-08-09 18:29:33 +02:00

15 lines
328 B
Nginx Configuration File

location {LOCATION} {
alias {DESTDIR}/output/;
index index.html
try_files $uri $uri.html $uri/ =404;
# Deny access to hidden files and directories
location ~ ^{PATH}/(.+/|)\.(?!well-known\/) {
deny all;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}