Certbot for NGinx in Docker?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
57 views
Hello. Do not tell me how to tie Docker CertBot. In docker-compose is already spinning the way Nginx. Something can't Google the manual. Like there is an official serbot, but how to configure is unclear. Thank you.
by | 57 views

1 Answer

0 like 0 dislike
The idea of certboot simple

1) On a certain URL (/.well-known) certbot stores the data (file)
2) then accesses the server LetsEncrypt
3) the Server polls the LetsEncrypt website hosting certbot with different addresses and thereby make sure that the server is who it claims to be.
4) LetsEncrypt gives a certificate/key from certbot'

How to make:

1) Use certbot mode webroot (not nginx)
2) In nginx prescribe ./well-known to indicate where certbot put the file which will check LetsEncrypt
3) nginx to indicate to take the certificate/key from where it lay certboot

Path to file to points 2) and 3) - should be specified in parameters certbot.

That is where she puts the files certbot - out takes and nginx


Certificate LetsEncrypt valid for 90 days, so you need to update it (of course, more than once every 3 months)
Certbot remembers your settings and update to do not have all the options with all the ways to ask.

And of course nginx must be accessible from the outside and it is for the Samum url "/.well-known"

Turnkey solution
\rhttps://github.com/diresi/docker-nginx-certbot
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jun 9, 2019 by kiranananda
0 like 0 dislike
5 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
35,430 users