- Ajout d'un proxy nginx pour rediriger l'endpoint racine de blindbit-oracle - Modification de la configuration sdk_relay pour utiliser blindbit-proxy - Ajout de telnet dans l'image sdk_relay pour le healthcheck - Correction de l'URL blindbit-oracle dans la configuration - Ajout du fichier de configuration exemple
32 lines
706 B
Plaintext
32 lines
706 B
Plaintext
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
upstream blindbit {
|
|
server blindbit-oracle:8000;
|
|
}
|
|
|
|
server {
|
|
listen 8000;
|
|
|
|
location / {
|
|
proxy_pass http://blindbit/utxos/136294;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
location /utxos/ {
|
|
proxy_pass http://blindbit;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
location /filter/ {
|
|
proxy_pass http://blindbit;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
}
|
|
}
|