Skip to content

Commit 0f956f5

Browse files
committed
Fixes
1 parent 2a4892a commit 0f956f5

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

examples/cernbox/keycloak/cernbox.json

+10-6
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,9 @@
636636
"redirectUris": [
637637
"/realms/cernbox/account/*"
638638
],
639-
"webOrigins": [],
639+
"webOrigins": [
640+
"*"
641+
],
640642
"notBefore": 0,
641643
"bearerOnly": false,
642644
"consentRequired": false,
@@ -680,7 +682,9 @@
680682
"redirectUris": [
681683
"/realms/cernbox/account/*"
682684
],
683-
"webOrigins": [],
685+
"webOrigins": [
686+
"*"
687+
],
684688
"notBefore": 0,
685689
"bearerOnly": false,
686690
"consentRequired": false,
@@ -812,11 +816,11 @@
812816
"clientAuthenticatorType": "client-secret",
813817
"redirectUris": [
814818
"https://cernbox1.docker/*",
815-
"https://cernbox2.docker/*"
819+
"https://cernbox2.docker/*",
820+
"https://idp.docker:8443/*"
816821
],
817822
"webOrigins": [
818-
"https://cernbox1.docker/*",
819-
"https://cernbox2.docker/*"
823+
"*"
820824
],
821825
"notBefore": 0,
822826
"bearerOnly": false,
@@ -903,7 +907,7 @@
903907
"/admin/cernbox/console/*"
904908
],
905909
"webOrigins": [
906-
"+"
910+
"*"
907911
],
908912
"notBefore": 0,
909913
"bearerOnly": false,

examples/cernbox/nginx/nginx.conf

+4-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ http {
139139
}
140140

141141
location ^~ /cernbox {
142-
root /var/www/cernbox;
142+
root /var/www;
143+
add_header Cache-Control "no-cache";
144+
add_header Access-Control-Allow-Origin "https://idp.docker:8443" always;
143145
etag off;
144146
gzip_static on;
145147
}
@@ -148,7 +150,7 @@ http {
148150
root /var/www/web;
149151
add_header Cache-Control "no-cache";
150152
add_header Access-Control-Allow-Origin "https://idp.docker:8443" always;
151-
etag on;
153+
etag off;
152154
gzip_static on;
153155
try_files $uri /index.html;
154156
}

0 commit comments

Comments
 (0)