1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snweb_ynh.git synced 2024-09-03 20:26:22 +02:00
snweb_ynh/conf/nginx.conf
2024-01-18 10:42:33 +01:00

14 lines
385 B
Nginx Configuration File

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/live/packages/web/dist/ ;
# Redirects
sub_filter ' href="/' ' href="__PATH__/';
sub_filter ' src="/' ' src="__PATH__/';
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}