Gnuragist.es

Support Gnu/Linux

Outils pour utilisateurs

Outils du site


notes:certificate-renewal-fail

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
notes:certificate-renewal-fail [2021/01/17 17:32] ptrnotes:certificate-renewal-fail [2021/01/20 18:26] (Version actuelle) ptr
Ligne 15: Ligne 15:
 i commented following ‘rewrite’ https settings (you can use octothorp '#' character on the beginning of the line) i commented following ‘rewrite’ https settings (you can use octothorp '#' character on the beginning of the line)
  
-  # rewrite ^(.+)$ /index.php?q=$1 last; 
  
 +  #if ($scheme = http) {
 +  #rewrite ^ https://$server_name$request_uri? permanent;
 +  #}
  
 then restart nginx then restart nginx
Ligne 30: Ligne 32:
   yunohost domain cert-renew www.mydomain.be --no-check   yunohost domain cert-renew www.mydomain.be --no-check
  
-( or 'yunohost domain cert-install mydomain.be --no-checks' if there was a selfsigned cert and you want to get an letsencrypt issued one)+( or 'yunohost domain **cert-install** mydomain.be --no-checks' if there was a selfsigned cert and you want to get an letsencrypt issued one)
  
  
Ligne 40: Ligne 42:
 test with curl (on laptop) test with curl (on laptop)
  
-<pre>+<code>
  
 ptr@eternit:~$ curl http://www.mydomain.be ptr@eternit:~$ curl http://www.mydomain.be
Ligne 54: Ligne 56:
 <!doctype html> <!doctype html>
 ... ...
-</pre>+</code>
notes/certificate-renewal-fail.txt · Dernière modification : 2021/01/20 18:26 de ptr