mirror of
https://github.com/romanz/electrs.git
synced 2025-02-23 14:50:45 +01:00
Merge pull request #126 from JeffVandrewJr/patch-2
Update docs for use with Eclair Mobile
This commit is contained in:
commit
9dae910288
1 changed files with 9 additions and 0 deletions
|
@ -118,6 +118,15 @@ $ sudo systemctl restart nginx
|
|||
$ electrum --oneserver --server=example:50002:s
|
||||
```
|
||||
|
||||
Note: If you are connecting to electrs from Eclair Mobile or another similar client which does not allow self-signed SSL certificates, you can obtain a free SSL certificate as follows:
|
||||
|
||||
1. Follow the instructions at https://certbot.eff.org/ to install the certbot on your system.
|
||||
2. When certbot obtains the SSL certificates for you, change the SSL paths in the nginx template above as follows:
|
||||
```
|
||||
ssl_certificate /etc/letsencrypt/live/<your-domain>/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/<your-domain>/privkey.pem;
|
||||
```
|
||||
|
||||
### Sample Systemd Unit File
|
||||
|
||||
You may wish to have systemd manage electrs so that it's "always on." Here is a sample unit file (which assumes that the bitcoind unit file is `bitcoind.service`):
|
||||
|
|
Loading…
Add table
Reference in a new issue