1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element-call_ynh.git synced 2024-09-03 20:36:02 +02:00
element-call_ynh/conf/nginx.conf

16 lines
450 B
Nginx Configuration File
Raw Normal View History

2023-10-17 16:59:30 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
2024-02-27 09:04:03 +01:00
location ^__PATH__/ {
2023-10-17 16:59:30 +02:00
alias __INSTALL_DIR__/dist/;
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;
}