commit 46cb068542759eb5e79ef0ac494261a18b065044
parent 454490394f5c9dc0271d98ae9849505744cf3916
Author: Javier Sepulveda <javier.sepulveda@uv.es>
Date: Sat, 5 Aug 2023 18:14:17 +0200
README - Tls configuration addition
Diffstat:
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/sandcastle/README b/sandcastle/README
@@ -205,10 +205,9 @@ NOTE: localhost works only with the default ports exposed.
How to deploy to online sites
=============================
-Before deploying the sandcastle setup, you need to certain replacements within the file "config/deployment.conf".
+Before deploying the sandcastle setup, you need to undertake certain replacements within the configuration file "config/deployment.conf".
currency = KUDOS (or the name of your currency)
-
merchant-url = https://backend.yourdomain.com
landing-url = https://yourdomain.com/
blog-url = https://shop.yourdomain.com/
@@ -221,7 +220,18 @@ bank-backend-url = https://bank.yourdomain.com/demobanks/default/
After doing this, and assuming that TLS is already configured, you can use the file named "nginx-example.conf" on the sandcastle directory,
as a NGINX virtual host, replacing the domain name "example.com" with your own domain name.
-You can use the the SED command to replace this automatically as this, being located within the sandcastle directory:
+You can use the the SED command to replace this automatically as this, being located within the sandcastle directory beforehand:
sed -i "s/example.com/yourdomain.com/g" nginx-example.conf
+TLS Configuration
+===================
+
+For the sake of simplicity we recommend CERBOT as a mean to obtain the Let's Encrypt certificates.
+
+First intall the CERTBOT program following the instructions from https://certbot.eff.org/
+
+After you have correctly installed CERTBOT, just execute "certbot --nginx" to obtain the necessary certificates to use the https protocol, and have them renewed automatically every 90 days.
+
+
+