Tentative d'installation d'un reverse nginx avec let's encrypt sur un rpi2 :

https://homeserver-diy.net/wiki/index.php?title=Installation_et_configuration_d%E2%80%99un_reverse_proxy_avec_NginX

https://homeserver-diy.net/wiki/index.php?title=Utilisation_d%27Nginx_comme_reverse_proxy_avec_un_certificat_auto-sign%C3%A9,_Let%27s_Encrypt_et_un_chiffrement_fort

sudo apt install -y nginx # sudo chown www-data:www-data /var/www <-- à revoir sudo nano /etc/nginx/conf.d/proxy.conf cd /opt sudo apt install -y git-core sudo git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt/ sudo service nginx stop sudo ./letsencrypt-auto certonly -d votrenomde.domaine --rsa-key-size 4096 How would you like to authenticate with the ACME CA? ------------------------------------------------------------------------------- 1: Spin up a temporary webserver (standalone) 2: Place files in webroot directory (webroot) Choix 1 sudo mv /etc/nginx/sites-enabled/default /etc/nginx/sites-enabled/ori.default sudo nano /etc/nginx/sites-enabled/default sudo openssl dhparam -out /etc/ssl/private/dhparams.pem 4096 sudo nginx -t sudo nano /etc/nginx/nginx.conf sudo systemctl start nginx