debian: update nginx-example.conf to set Access-Control-Allow-Origin (#22779)
This commit is contained in:
parent
a5df6a34b8
commit
2001523afa
|
@ -15,6 +15,7 @@ server {
|
||||||
/var/lib/combo/tenants/$host/theme/static/$1
|
/var/lib/combo/tenants/$host/theme/static/$1
|
||||||
/var/lib/combo/collectstatic/$1
|
/var/lib/combo/collectstatic/$1
|
||||||
=404;
|
=404;
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/media/(.+)$ {
|
location ~ ^/media/(.+)$ {
|
||||||
|
|
Loading…
Reference in New Issue