Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit f226d1a

Browse files
committed
Add crossdomain.xml for Flash testing.
Requested by the YouTube team.
1 parent abc6f4a commit f226d1a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

common/common.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ location /icons {
2121
proxy_cache_valid 200 1h;
2222
}
2323

24+
location = /crossdomain.xml {
25+
root /var/www/badssl/common;
26+
try_files $uri $uri/ =404;
27+
}
28+
2429
location = /robots.txt {
2530
root /var/www/badssl/common;
2631
try_files $uri $uri/ =404;

common/crossdomain.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<!-- https://*.badssl.com/crossdomain.xml -->
3+
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
4+
<cross-domain-policy>
5+
<allow-access-from domain="*.youtube.com" />
6+
<allow-access-from domain="s.ytimg.com" />
7+
</cross-domain-policy>

0 commit comments

Comments
 (0)