From 3446cc60ff5c6f4b5f75e04426ced829d7be14a1 Mon Sep 17 00:00:00 2001 From: Lil-Missy <ccc@queercode.io> Date: Wed, 23 Dec 2020 06:57:57 +0100 Subject: [PATCH] Add CORS Headers for quest files --- host_vars/gabriel.c3heaven.de | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host_vars/gabriel.c3heaven.de b/host_vars/gabriel.c3heaven.de index 81a6017..cb6e545 100644 --- a/host_vars/gabriel.c3heaven.de +++ b/host_vars/gabriel.c3heaven.de @@ -18,6 +18,10 @@ nginx_https_sites: locations: - location: "/" config: "root {{ website_deployment_path }};" + - location "/img/" + config: "add_header Access-Control-Allow-Origin *;" + - location "~ /(.*)_galf_tseuq.html$" + config: "add_header Access-Control-Allow-Origin *;" - location: "~ /wiki(.*)$" config: "return 301 https://wiki.c3heaven.de$1?$args;" - location: "~ /kanboard(.*)$" -- GitLab