From ad74d95899ecfe762ce573aca670b38908209fae Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 22 Jul 2021 10:17:37 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ec2c803..dacb947 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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 }