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-21 23:31:45 +02:00
parent 705e2fd219
commit cc691bd16d
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -26,10 +26,10 @@ 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)$ {
more_set_headers "Access-Control-Allow-Origin: '*'"; more_set_headers "Access-Control-Allow-Origin: '*'";
more_set_headers "Access-Control-Max-Age: 3600"; #more_set_headers "Access-Control-Max-Age: 3600";
more_set_headers "Access-Control-Expose-Headers: Content-Length"; #more_set_headers "Access-Control-Expose-Headers: Content-Length";
more_set_headers "Access-Control-Allow-Headers: Range"; #more_set_headers "Access-Control-Allow-Headers: Range";
more_set_headers "Accept-Ranges: bytes"; #more_set_headers "Accept-Ranges: bytes";
root __FINALPATH__/; root __FINALPATH__/;
} }