Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Dec 12, 2023
1 parent 2a4892a commit b4c8176
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 9 additions & 5 deletions examples/cernbox/keycloak/cernbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,9 @@
"redirectUris": [
"/realms/cernbox/account/*"
],
"webOrigins": [],
"webOrigins": [
"+"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
Expand Down Expand Up @@ -680,7 +682,9 @@
"redirectUris": [
"/realms/cernbox/account/*"
],
"webOrigins": [],
"webOrigins": [
"+"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 4 additions & 2 deletions examples/cernbox/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit b4c8176

Please sign in to comment.