1
0
Fork 0
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:
Éric Gaspar 2023-10-17 17:46:20 +02:00
parent 09026fcfed
commit b39e07788e

View file

@ -2,6 +2,8 @@
location __PATH__/ { location __PATH__/ {
alias __INSTALL_DIR__/dist/; alias __INSTALL_DIR__/dist/;
try_files $uri /$uri /index.html;
index index.html; index index.html;
@ -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;
}