mirror of
https://github.com/joinmarket-webui/jam.git
synced 2026-08-20 13:28:21 +02:00
* dev(regtest): update ergochat to v2.15.0 * dev(regtest): add new config param wallet_caching_disabled * dev(regtest): update bitcoin core to v28 * dev(regtest): detach and wait for docker services * dev(regtest): pin nginx image version * dev(regtest): add healthcheck to bitcoind * dev(regtest): add healtcheck to secondary jm containers * dev(regtest): add healthcheck to primary jm containers * dev(regtest): add healthcheck to nginx * dev(regtest): update vanitytorgen repo ref
37 lines
957 B
Text
37 lines
957 B
Text
# To test the reverse proxy setup, run the dev server using:
|
|
#
|
|
# PUBLIC_URL=/joinmarket npm run dev
|
|
#
|
|
# And visit http://localhost:8000/joinmarket/extrapath/
|
|
# Note: Keep the trailing slash!
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location /joinmarket/extrapath/jmws {
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_set_header Authorization "";
|
|
|
|
# allow 10m without socket activity (default is 60 sec)
|
|
proxy_read_timeout 600s;
|
|
proxy_send_timeout 600s;
|
|
|
|
proxy_pass http://host.docker.internal:3000/joinmarket/jmws;
|
|
}
|
|
|
|
location /joinmarket/extrapath {
|
|
proxy_pass http://host.docker.internal:3000/joinmarket;
|
|
}
|
|
|
|
location /joinmarket {
|
|
proxy_pass http://host.docker.internal:3000/joinmarket;
|
|
}
|
|
|
|
location = /health {
|
|
default_type application/json;
|
|
return 200 '{ "status": "UP" }';
|
|
}
|
|
}
|