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
2972e2f79b
commit
d0f50d62e6
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ location __PATH__/ {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection “upgrade”;
|
||||
}
|
||||
|
||||
# CORS
|
||||
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
|
||||
more_set_headers 'Access-Control-Allow-Origin: "*"'; # Decide here whether you want to allow all or only a particular domain
|
||||
root __FINALPATH__/; # Properly set the path here
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
Loading…
Add table
Reference in a new issue