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
|
@ -2,6 +2,8 @@
|
|||
location __PATH__/ {
|
||||
|
||||
alias __INSTALL_DIR__/dist/;
|
||||
|
||||
try_files $uri /$uri /index.html;
|
||||
|
||||
index index.html;
|
||||
|
||||
|
@ -13,3 +15,13 @@ location __PATH__/ {
|
|||
# Include SSOWAT user panel.
|
||||
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