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

16 lines
447 B
Nginx Configuration File
Raw Normal View History

2022-01-05 08:37:17 +01:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2023-03-05 22:31:46 +01:00
alias __INSTALL_DIR__/;
2022-04-14 13:06:09 +02:00
2022-08-12 15:54:49 +02:00
index index.html;
2023-03-05 22:38:11 +01:00
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "X-Content-Type-Options: nosniff";
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;
2022-01-05 08:37:17 +01:00
}