mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-23 07:54:22 +01:00
* Support regtest * Fix bindings, print and switch boltz client crate * Remove stop-grace-period * Fix docker compose issues * feat: add rt-sync to regtest setup * Configure local rtsync instance on default regtest config * Bump sdk-common rev * Fix compose restart missing quotation * Specify platform only in base configurations * Fix after rebase --------- Co-authored-by: yse <hydra_yse@proton.me>
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
server {
|
|
listen 9001;
|
|
listen [::]:9001;
|
|
server_name localhost;
|
|
|
|
location /v2/ws {
|
|
proxy_pass http://boltz:9004/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
|
|
location /streamswapstatus {
|
|
proxy_pass http://boltz:9005;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://boltz:9001;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
}
|