mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
Moving BTCPay to port 23001
This commit is contained in:
parent
90338dee2c
commit
718f6b62f5
2 changed files with 7 additions and 6 deletions
|
@ -33,8 +33,8 @@ ${toraddress}
|
|||
|
||||
# IP + Domain
|
||||
whiptail --title " BTCPay Server (Domain) " --msgbox "Open the following URL in your local web browser:
|
||||
https://${localip}:23000\n
|
||||
To make BTCPay reachable from the outside see 'BTCPay'
|
||||
https://${localip}:23001\n
|
||||
For details or troubleshoot check for 'BTCPay'
|
||||
in README of https://github.com/rootzoll/raspiblitz
|
||||
" 11 67
|
||||
fi
|
||||
|
@ -323,7 +323,8 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
|||
|
||||
sudo rm -f /home/btcpay/.btcpayserver/Main/settings.config
|
||||
sudo rm -f /etc/systemd/system/btcpayserver.service
|
||||
sudo rm -f /etc/nginx/sites-available/btcpayserver
|
||||
sudo rm -f /etc/nginx/sites-available/btcpayserver
|
||||
sudo rm -rf /mnt/hdd/tor/btcpay 2>/dev/null
|
||||
echo "OK BTCPayServer removed."
|
||||
else
|
||||
echo "BTCPayServer is not installed."
|
||||
|
|
|
@ -81,7 +81,7 @@ echo ""
|
|||
if [ $ownDomain -eq 1 ]; then
|
||||
echo ""
|
||||
echo "***"
|
||||
echo "Confirm that the ports 80, 443 and 9735 are forwarded to the IP of your RaspiBlitz by pressing [ENTER] or use [CTRL + C] to exit"
|
||||
echo "Confirm that the ports 443 and 9735 are forwarded to the IP of your RaspiBlitz AND the port 80 on your router forwards to port 23001 of your RaspiBlitz by pressing [ENTER] or use [CTRL + C] to exit"
|
||||
read key
|
||||
|
||||
echo ""
|
||||
|
@ -107,7 +107,7 @@ if [ $ownDomain -eq 1 ]; then
|
|||
# install nginx and certbot
|
||||
sudo apt-get install nginx-full certbot -y
|
||||
|
||||
sudo ufw allow 80 comment 'btcpayserver TCP'
|
||||
sudo ufw allow 23001 comment 'btcpayserver TCP'
|
||||
sudo ufw allow 443 comment 'btcpayserver SSL'
|
||||
|
||||
# get SSL cert
|
||||
|
@ -170,7 +170,7 @@ proxy_set_header Proxy \"\";
|
|||
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen 23001 default_server;
|
||||
server_name _;
|
||||
return 301 https://\$host\$request_uri;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue