mirror of
https://github.com/YunoHost-Apps/converse_ynh.git
synced 2024-09-03 18:25:53 +02:00
Update nginx.conf
This commit is contained in:
parent
39b201a3ca
commit
a38d6c3c60
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ location __PATH__/ {
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# CORS
|
||||||
|
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
|
||||||
|
add_header Access-Control-Allow-Origin "*";
|
||||||
|
root /var/www/converse/dist/converse.js;
|
||||||
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue