mirror of
https://github.com/YunoHost-Apps/element-call_ynh.git
synced 2024-09-03 20:36:02 +02:00
Update nginx.conf
This commit is contained in:
parent
09026fcfed
commit
b39e07788e
1 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,8 @@ location __PATH__/ {
|
||||||
|
|
||||||
alias __INSTALL_DIR__/dist/;
|
alias __INSTALL_DIR__/dist/;
|
||||||
|
|
||||||
|
try_files $uri /$uri /index.html;
|
||||||
|
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||||
|
@ -13,3 +15,13 @@ location __PATH__/ {
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# assets can be cached because they have hashed filenames
|
||||||
|
location __PATH__/assets {
|
||||||
|
expires 1w;
|
||||||
|
more_set_headers "Cache-Control: 'public, no-transform'";
|
||||||
|
}
|
||||||
|
|
||||||
|
location __PATH__/apple-app-site-association {
|
||||||
|
default_type application/json;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue