[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: nginx: hydra.gnu.org: 'Access-Control-Allow-Origin' preserves the
From: |
Ludovic Courtès |
Subject: |
01/01: nginx: hydra.gnu.org: 'Access-Control-Allow-Origin' preserves the scheme. |
Date: |
Tue, 15 Mar 2016 22:03:20 +0000 |
civodul pushed a commit to branch master
in repository maintenance.
commit 1086a7d401080bca87a93c532bc25c65906f2dbd
Author: Ludovic Courtès <address@hidden>
Date: Tue Mar 15 23:02:16 2016 +0100
nginx: hydra.gnu.org: 'Access-Control-Allow-Origin' preserves the scheme.
---
hydra/nginx/hydra.gnu.org-locations.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hydra/nginx/hydra.gnu.org-locations.conf
b/hydra/nginx/hydra.gnu.org-locations.conf
index 9cf10c3..a93af3e 100644
--- a/hydra/nginx/hydra.gnu.org-locations.conf
+++ b/hydra/nginx/hydra.gnu.org-locations.conf
@@ -7,7 +7,7 @@ location / {
location /api {
# For the sake of the JS code at http://gnu.org/s/guix/packages.
- add_header 'Access-Control-Allow-Origin' 'http://www.gnu.org';
+ add_header 'Access-Control-Allow-Origin' '$scheme://www.gnu.org';
proxy_pass http://127.0.0.1:3000;
}