1
0
Fork 0
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:
ericgaspar 2021-07-22 10:17:37 +02:00
parent 2160abf4e5
commit ad74d95899
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -22,7 +22,7 @@ location __PATH__/ {
}
# CORS
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
}