From 2001523afaa12b438563f0c7b95edab62a801405 Mon Sep 17 00:00:00 2001 From: Christophe Siraut Date: Fri, 23 Mar 2018 18:22:03 +0100 Subject: [PATCH] debian: update nginx-example.conf to set Access-Control-Allow-Origin (#22779) --- debian/nginx-example.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/nginx-example.conf b/debian/nginx-example.conf index 223cc6ff..627bb41b 100644 --- a/debian/nginx-example.conf +++ b/debian/nginx-example.conf @@ -15,6 +15,7 @@ server { /var/lib/combo/tenants/$host/theme/static/$1 /var/lib/combo/collectstatic/$1 =404; + add_header Access-Control-Allow-Origin *; } location ~ ^/media/(.+)$ {