aboutsummaryrefslogtreecommitdiff
path: root/util/master/master.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'util/master/master.cgi')
-rwxr-xr-xutil/master/master.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/master/master.cgi b/util/master/master.cgi
index b918876bd..0e456ed0c 100755
--- a/util/master/master.cgi
+++ b/util/master/master.cgi
@@ -18,6 +18,7 @@ nginx:
location / {
index index.html;
+ add_header Access-Control-Allow-Origin *;
}
location /announce {
fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
@@ -35,6 +36,10 @@ apache .htaccess:
Allow from all
</FilesMatch>
Deny from all
+ <ifModule mod_headers.c>
+ Header set Access-Control-Allow-Origin: *
+ </ifModule>
+
=cut