mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-26 07:24:40 +01:00
* Add JoinMarket Web UI * Update webserver config * Add update option * Improve logging for api service * Improve install and update script * Update version and install process * Use correct onion service script * Ensure JoinMarket is installed * add joinmarket-webui precheck to load wallet.dat
34 lines
887 B
Text
34 lines
887 B
Text
## joinmarket_webui.conf
|
|
|
|
server {
|
|
listen 7500;
|
|
listen [::1]:7500;
|
|
server_name _;
|
|
|
|
access_log /var/log/nginx/access_joinmarket_webui.log;
|
|
error_log /var/log/nginx/error_joinmarket_webui.log;
|
|
|
|
gzip on;
|
|
gzip_types application/javascript application/json text/css image/svg+xml;
|
|
|
|
root /home/joinmarket/webui/build;
|
|
index index.html;
|
|
|
|
location /api/ {
|
|
include /etc/nginx/snippets/proxy-params.conf;
|
|
proxy_pass https://127.0.0.1:28183;
|
|
}
|
|
|
|
location /ws/ {
|
|
include /etc/nginx/snippets/proxy-params.conf;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection $http_connection;
|
|
proxy_pass https://127.0.0.1:28183;
|
|
}
|
|
|
|
location / {
|
|
include /etc/nginx/snippets/proxy-params.conf;
|
|
try_files $uri $uri/ /index.html;
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|