From 70206fe8a8873a412388a8a479d2f28f17d57101 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Apr 20 2020 08:45:01 +0000 Subject: Merge branch 'hellcp/static-give-up' into 'production' Allow all sites to access chat stuff See merge request infra/salt!389 --- diff --git a/pillar/role/web_static.sls b/pillar/role/web_static.sls index 2e869d6..35c6462 100644 --- a/pillar/role/web_static.sls +++ b/pillar/role/web_static.sls @@ -44,7 +44,7 @@ nginx: - add_header: Access-Control-Allow-Origin "*" {% if website == 'static' %} - location ^/chat/: - - add_header: Access-Control-Allow-Origin "https://chat.opensuse.org" + - add_header: Access-Control-Allow-Origin "*" - location ~ ^/themes/: - autoindex: 'on' {% endif %}