From e2f4635404acdea5466575802d83c374ea8970c7 Mon Sep 17 00:00:00 2001 From: videogame hacker Date: Sat, 5 Mar 2022 20:27:16 +0000 Subject: [PATCH] The CORS header should cover the entire webring directory --- nginx-site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-site.conf b/nginx-site.conf index 89a096a..aa49013 100644 --- a/nginx-site.conf +++ b/nginx-site.conf @@ -3,7 +3,7 @@ location / { root /srv/http/lavender.software/; - location = /webring/data.json { + location ^~ /webring/ { add_header Access-Control-Allow-Origin *; } }