diff --git a/pillar/role/web_static.sls b/pillar/role/web_static.sls index 35c6462..dc643d2 100644 --- a/pillar/role/web_static.sls +++ b/pillar/role/web_static.sls @@ -43,7 +43,7 @@ nginx: - location ~* \.(?:ttf|otf|eot|woff)$: - add_header: Access-Control-Allow-Origin "*" {% if website == 'static' %} - - location ^/chat/: + - location ~ ^/chat/: - add_header: Access-Control-Allow-Origin "*" - location ~ ^/themes/: - autoindex: 'on'