diff --git a/examples/cernbox/keycloak/cernbox.json b/examples/cernbox/keycloak/cernbox.json index 4e64c919afd..65c1a684e48 100644 --- a/examples/cernbox/keycloak/cernbox.json +++ b/examples/cernbox/keycloak/cernbox.json @@ -636,7 +636,9 @@ "redirectUris": [ "/realms/cernbox/account/*" ], - "webOrigins": [], + "webOrigins": [ + "*" + ], "notBefore": 0, "bearerOnly": false, "consentRequired": false, @@ -680,7 +682,9 @@ "redirectUris": [ "/realms/cernbox/account/*" ], - "webOrigins": [], + "webOrigins": [ + "*" + ], "notBefore": 0, "bearerOnly": false, "consentRequired": false, @@ -812,11 +816,11 @@ "clientAuthenticatorType": "client-secret", "redirectUris": [ "https://cernbox1.docker/*", - "https://cernbox2.docker/*" + "https://cernbox2.docker/*", + "https://idp.docker:8443/*" ], "webOrigins": [ - "https://cernbox1.docker/*", - "https://cernbox2.docker/*" + "*" ], "notBefore": 0, "bearerOnly": false, @@ -903,7 +907,7 @@ "/admin/cernbox/console/*" ], "webOrigins": [ - "+" + "*" ], "notBefore": 0, "bearerOnly": false, diff --git a/examples/cernbox/nginx/nginx.conf b/examples/cernbox/nginx/nginx.conf index c1e4b8c5e6c..64108e3b650 100644 --- a/examples/cernbox/nginx/nginx.conf +++ b/examples/cernbox/nginx/nginx.conf @@ -139,7 +139,9 @@ http { } location ^~ /cernbox { - root /var/www/cernbox; + root /var/www; + add_header Cache-Control "no-cache"; + add_header Access-Control-Allow-Origin "https://idp.docker:8443" always; etag off; gzip_static on; } @@ -148,7 +150,7 @@ http { root /var/www/web; add_header Cache-Control "no-cache"; add_header Access-Control-Allow-Origin "https://idp.docker:8443" always; - etag on; + etag off; gzip_static on; try_files $uri /index.html; }