1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owntracks_ynh.git synced 2024-09-03 19:56:24 +02:00
owntracks_ynh/conf/nginx.conf

16 lines
444 B
Nginx Configuration File
Raw Normal View History

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2018-02-19 22:23:03 +01:00
2024-01-27 14:19:28 +01:00
alias __INSTALL_DIR__/www/;
2023-10-17 10:09:16 +02:00
index index.html;
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_clear_headers "X-Content-Type-Options";
more_set_headers "X-XSS-Protection: '1; mode=block'";
more_set_headers "Content-Security-Policy: frame-ancestors 'self'";
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
2018-02-19 22:23:03 +01:00
}