jam/docker/regtest/dockerfile-deps/nginx/default.conf.template
Thebora Kompanioni 5491e88b53
chore: update regtest deps (#882)
* 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
2025-05-02 15:19:31 +02:00

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" }';
}
}