mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 09:00:15 +01:00
* jam: fix nginx conf and rename to jam * rename script * correct capitalization Co-authored-by: Gigi <109058+dergigi@users.noreply.github.com> * joininbox update to v0.7.3, joinmarket v0.9.8 * correct websocket * add obwatcher for Jam * set random max_cj_fee_abs and max_cj_fee_rel * start the ob-watcher.service on Jam install * fix the websocket connection * display JMstats if maker_running with the api * rename to jam everywhere * rename in provision (recovery) * add jam to main menu * add Jam to SERVICES * remove legacy nginx confs * rename tor service * clearnet websocket fix * run joinmarket-api independent of bitcoind * add jam to the UPDATE menu * use dergigi's key to verify, install to jam user * fix update to commit * joininbox update to v0.7.4 * fix jam var in menu * joininbox: use tag to verify * add cleanup to uninstall in all cases * improve uninstall * fix path for jam uninstall * feat: move to the joininbox menu from JM info * jam update to v0.1.2 * remove old $APP_DIR on update
54 lines
1.5 KiB
Text
54 lines
1.5 KiB
Text
## jam_tor_ssl.conf
|
|
|
|
server {
|
|
listen 7503 ssl http2;
|
|
listen [::1]:7503 ssl http2;
|
|
server_name _;
|
|
|
|
include /etc/nginx/snippets/ssl-params.conf;
|
|
include /etc/nginx/snippets/ssl-certificate-app-data-tor.conf;
|
|
|
|
access_log /var/log/nginx/access_jam.log;
|
|
error_log /var/log/nginx/error_jam.log;
|
|
|
|
gzip on;
|
|
gzip_vary on;
|
|
gzip_proxied any;
|
|
gzip_types *;
|
|
gzip_types application/javascript application/json text/css image/svg+xml;
|
|
|
|
root /home/jam/webui/build;
|
|
index index.html;
|
|
|
|
location /api/ {
|
|
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
|
|
|
proxy_set_header Authorization $http_x_jm_authorization;
|
|
proxy_set_header x-jm-authorization "";
|
|
|
|
proxy_pass https://127.0.0.1:28183;
|
|
}
|
|
|
|
location /jmws {
|
|
include /etc/nginx/snippets/proxy-params.conf;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_set_header Authorization "";
|
|
proxy_pass https://127.0.0.1:28283/;
|
|
}
|
|
|
|
location /obwatch/ {
|
|
include /etc/nginx/snippets/proxy-params.conf;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Connection "";
|
|
# must proxy via "http" as ob-watcher does not make use of self-signed cert yet
|
|
proxy_pass http://127.0.0.1:62601/;
|
|
}
|
|
|
|
location / {
|
|
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
|
try_files $uri $uri/ /index.html;
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
}
|