aboutsummaryrefslogtreecommitdiffstats
path: root/modules/youri-check/templates/vhost_check.conf
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2016-10-05 23:24:57 +0200
committerOlivier Blin <dev@blino.org>2016-10-05 23:27:03 +0200
commiteda8a9ae9af5540a33e3a7885e9fec1b33654cd5 (patch)
treeb336fd3a3c8ae9d465ef5209a251be48c53ec3f2 /modules/youri-check/templates/vhost_check.conf
parent7a1cfd37f4b40541b23430ebf72e67833653f03e (diff)
downloadpuppet-eda8a9ae9af5540a33e3a7885e9fec1b33654cd5.tar
puppet-eda8a9ae9af5540a33e3a7885e9fec1b33654cd5.tar.gz
puppet-eda8a9ae9af5540a33e3a7885e9fec1b33654cd5.tar.bz2
puppet-eda8a9ae9af5540a33e3a7885e9fec1b33654cd5.tar.xz
puppet-eda8a9ae9af5540a33e3a7885e9fec1b33654cd5.zip
Authorize CORS on check for pkgsubmit origin
For dependencies.rss files that will be loaded through XMLHttpRequest
Diffstat (limited to 'modules/youri-check/templates/vhost_check.conf')
-rw-r--r--modules/youri-check/templates/vhost_check.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/youri-check/templates/vhost_check.conf b/modules/youri-check/templates/vhost_check.conf
new file mode 100644
index 00000000..42c391d0
--- /dev/null
+++ b/modules/youri-check/templates/vhost_check.conf
@@ -0,0 +1 @@
+Header set Access-Control-Allow-Origin "pkgsubmit.<%= domain %>"