mirror of
https://github.com/YunoHost-Apps/pelican_ynh.git
synced 2024-09-03 19:46:35 +02:00
15 lines
328 B
Nginx Configuration File
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;
|
|
}
|