mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 04:54:18 +01:00
53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
# Nginx scripts
|
|
|
|
## Add a custom subdomain
|
|
|
|
In this example configuration a redirect is added to a custom service on the LAN (or VPN).
|
|
To download, check and run:
|
|
```
|
|
wget -O custom_website_subdomain.sh https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/nginx/custom_website_subdomain.sh
|
|
|
|
cat custom_website_subdomain.sh
|
|
|
|
bash custom_website_subdomain.sh
|
|
```
|
|
|
|
## Add a subdomain for a Mempool instance
|
|
|
|
In this example configuration a redirect is added to a Mempool instance on the LAN (or VPN).
|
|
To download, check and run:
|
|
```
|
|
wget -O mempool_subdomain.sh https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/nginx/mempool_subdomain.sh
|
|
|
|
cat mempool_subdomain.sh
|
|
|
|
bash mempool_subdomain.sh
|
|
```
|
|
|
|
## Add subdomain for an Electrum Server
|
|
|
|
In this example configuration a redirect and SSL encryption added to a Fulcrum instance.
|
|
To download, check and run:
|
|
```
|
|
wget -O electrum_server_subdomain.sh
|
|
https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/nginx/electrum_server_subdomain.sh
|
|
|
|
cat electrum_server_subdomain.sh
|
|
|
|
bash electrum_server_subdomain.sh
|
|
```
|
|
|
|
## Set up SSL access for the Ride The Lightning web UI on the RaspiBlitz
|
|
|
|
Have a look through the script here: [bonus.SSL_for_RTL.sh](bonus.SSL_for_RTL.sh).
|
|
|
|
To download, check and run:
|
|
```
|
|
wget -O bonus.SSL_for_RTL.sh https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh
|
|
|
|
cat bonus.SSL_for_RTL.sh
|
|
|
|
bash bonus.SSL_for_RTL.sh
|
|
```
|
|
|