From 650d7dd552a3b36e7ac23a3cf7e2c04b0be25d2e Mon Sep 17 00:00:00 2001 From: micutu Date: Tue, 15 Oct 2024 01:15:36 +0000 Subject: [PATCH] Update readme.md --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index 01f0db2..464781a 100644 --- a/readme.md +++ b/readme.md @@ -18,6 +18,16 @@ tot acolo copiez si continutul lui nginx-for-docker config in /data/nginx/app.co Cu comanda urmatoare aduc fisierul de initializare prima data: (il editez local sa schimb domeniul example) curl -L https://repos.bogdancarpean.com/micutu/Linux_ubuntu_scripts/raw/branch/main/install.sh > init-letsencrypt.sh +cand rulez scriptul sterg location / { + return 301 https://$host$request_uri; + } + + si pun in loc + +location /.well-known/acme-challenge/ { + root /var/www/certbot; +} + chmod +x init-letsencrypt.sh sudo ./init-letsencrypt.sh