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
3888a288da
commit
705e2fd219
1 changed files with 8 additions and 5 deletions
|
@ -24,11 +24,14 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
# CORS
|
||||
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
|
||||
more_set_headers "Access-Control-Allow-Origin: '*'";
|
||||
more_set_headers "Access-Control-Max-Age: 3600";
|
||||
more_set_headers "Access-Control-Expose-Headers: Content-Length";
|
||||
more_set_headers "Access-Control-Allow-Headers: Range";
|
||||
more_set_headers "Accept-Ranges: bytes";
|
||||
root __FINALPATH__/;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
Loading…
Reference in a new issue