Add comments

This commit is contained in:
Thomas E Lackey 2022-12-13 18:33:11 -06:00
parent 7570332f6c
commit 5e8c01c077

View File

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