Add nginx proxy_pass for /electrs -> localhost port 3000

This commit is contained in:
wiz 2020-02-25 01:09:49 +09:00
parent 90a1fcaf8d
commit e7d2091796

View File

@ -65,6 +65,10 @@ http {
proxy_pass http://127.0.0.1:8999/api; proxy_pass http://127.0.0.1:8999/api;
} }
location /electrs/ {
proxy_pass http://127.0.0.1:3000/;
}
location /ws { location /ws {
proxy_pass http://127.0.0.1:8999/; proxy_pass http://127.0.0.1:8999/;
proxy_http_version 1.1; proxy_http_version 1.1;