mirror of
https://github.com/YunoHost-Apps/chatgpt-web_ynh.git
synced 2024-09-03 18:16:21 +02:00
15 lines
449 B
Nginx Configuration File
15 lines
449 B
Nginx Configuration File
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
|
location __PATH__/ {
|
|
|
|
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;
|
|
}
|