Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:certbot:deep [2018/04/26 15:50]
admin [Second method]
linux:certbot:deep [2020/03/27 12:46] (current)
admin
Line 21: Line 21:
 <​code>​ <​code>​
   location /​.well-known {   location /​.well-known {
-  alias /​var/​www/​I/​like/​it/​here/​.well-known;+     ​root ​/​var/​www/​I/​like/​it/​here/;​
 } }
 </​code>​ </​code>​
-      ​+Be careful, nginx appends the location itself. Here it adds .well-known to the /​i/​like/​it/​here/​. 
 Apache2: Apache2:
 <​code> ​       ​ <​code> ​       ​
Line 55: Line 56:
       ​       ​
       ​       ​
 +===== DNS auth =====
 +    /​usr/​src/​certbot-auto certonly --manual --preferred-challenges=dns --email firma@example.cz -d example.com -d *.example.com
 +
 +      ​
 +===== Be careful with wsgi proxy ======
 +Proxy goes first then aliases. You have to create an exeption for .well-known.
 +Showing just apache2 config line
 +     ​ProxyPass /​.well-known !
 +     
 +     
 ===== Nice source ===== ===== Nice source =====
     * https://​gist.github.com/​cecilemuller/​a26737699a7e70a7093d4dc115915de8     * https://​gist.github.com/​cecilemuller/​a26737699a7e70a7093d4dc115915de8
  
 
linux/certbot/deep.1524750630.txt.gz · Last modified: 2018/04/26 15:50 by admin