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
Éric Gaspar 5c3a05a8b4 v2
2023-05-29 12:47:40 +02:00

14 lines
303 B
Nginx Configuration File

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/output/ ;
index index.html index.htm;
default_type text/html;
try_files $uri $uri.html $uri/ =404;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}