mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00

* removed korean documentation Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * removed CN and KOR readme Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * changed to the press theme Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * first changes Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * fixe H3 vs H1 issues Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * added missing png Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * added missing file Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * fixed warnings Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * moved documents Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * removed obsolete files Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * removed obsolete folder Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * removed obs. file Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * added some final changes Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com> * removed obs. reference Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
1.4 KiB
1.4 KiB
Set Up NGINX
If you don't want HTTPS (for communications between the external world and your node), then you can skip all the NGINX steps on this page.
Note: This simple deployment template uses NGINX for more than just HTTPS. For example, it also does basic rate limiting.
Install NGINX
SSH into your machine and install NGINX:
sudo apt update
sudo apt install nginx
Configure & Reload NGINX
Get an SSL certificate for your node's subdomain (such as bnode.example.com
).
- Copy the SSL private key into
/etc/nginx/ssl/cert.key
- Create a "PEM file" (text file) by concatenating your SSL certificate with all intermediate certificates (in that order, with the intermediate certs last).
- Copy that PEM file into
/etc/nginx/ssl/cert.pem
- In the
planetmint/planetmint repository on GitHub,
find the file
nginx/nginx.conf
and copy its contents to/etc/nginx/nginx.conf
on your machine (i.e. replace the existing file there). - Edit that file (
/etc/nginx/nginx.conf
): replace the two instances of the stringexample.testnet2.com
with your chosen subdomain (such asbnode.example.com
). - Reload NGINX by doing:
sudo service nginx reload