Skip to content
Snippets Groups Projects
Commit c35d48b6 authored by Florent Thiery's avatar Florent Thiery
Browse files

deploy crossdomain.xml whenever deploying a cache, refs #23810

parent 188a3890
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ def setup(interactive=True): ...@@ -8,6 +8,7 @@ def setup(interactive=True):
cmds = [ cmds = [
'mkdir -p /var/www/cache', 'mkdir -p /var/www/cache',
'cp %s/index.html /var/www/cache/index.html' % dir_path, 'cp %s/index.html /var/www/cache/index.html' % dir_path,
'cp %s/crossdomain.xml /var/www/cache/crossdomain.xml' % dir_path,
'cp %s/nginx-limits.conf /etc/security/limits.d/nginx.conf' % dir_path, 'cp %s/nginx-limits.conf /etc/security/limits.d/nginx.conf' % dir_path,
] ]
utils.run_commands(cmds) utils.run_commands(cmds)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="false"/>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment