Add crossdomain.xml
This commit is contained in:
parent
3152ffacaa
commit
5707e66719
12
nginx.conf
12
nginx.conf
@ -55,5 +55,17 @@ http {
|
||||
location /static {
|
||||
alias /static;
|
||||
}
|
||||
|
||||
location /crossdomain.xml {
|
||||
default_type text/xml;
|
||||
return 200 '<?xml version="1.0"?>
|
||||
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
|
||||
<cross-domain-policy>
|
||||
<site-control permitted-cross-domain-policies="all"/>
|
||||
<allow-access-from domain="*" secure="false"/>
|
||||
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
|
||||
</cross-domain-policy>';
|
||||
expires 24h;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user