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
2160abf4e5
commit
ad74d95899
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ location __PATH__/ {
|
||||||
}
|
}
|
||||||
# CORS
|
# CORS
|
||||||
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
|
location ~ .(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
|
||||||
add_header "Access-Control-Allow-Origin: '*'"; # Decide here whether you want to allow all or only a particular domain
|
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
|
root __FINALPATH__/; # Properly set the path here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue