Keycloak + nginx reverse proxy #63

Merged
telackey merged 10 commits from telackey/keycloak into main 2022-12-14 18:59:40 +00:00
Showing only changes of commit 5e8c01c077 - Show all commits

View File

@ -8,6 +8,7 @@ server {
root /usr/share/nginx/html;
}
### geth
location ~ ^/eth/?([^/]*)$ {
set $apiKey $1;
if ($apiKey = '') {
@ -19,6 +20,7 @@ server {
proxy_pass http://fixturenet-eth-geth-1:8545;
}
### ipld-eth-server
# location ~ ^/ipld/eth/([^/]*)$ {
# set $apiKey $1;
# if ($apiKey = '') {
@ -41,6 +43,7 @@ server {
# proxy_pass http://ipld-eth-server:8082;
# }
#
### lighthouse
# location /beacon/ {
# set $apiKey $http_X_API_KEY;
# auth_request /auth;