https://github.com/fjctp/docker-letsencrypt
letsencrypt + nginx in Docker
https://github.com/fjctp/docker-letsencrypt
Last synced: about 2 months ago
JSON representation
letsencrypt + nginx in Docker
- Host: GitHub
- URL: https://github.com/fjctp/docker-letsencrypt
- Owner: fjctp
- License: mit
- Created: 2017-09-09T17:19:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T22:18:41.000Z (over 7 years ago)
- Last Synced: 2025-02-01T23:44:43.718Z (4 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-letsencrypt
This image has certbot and ngnix built-in, so getting a SSL certificate is simple.## Get a new SSL certificate
```
docker run -it --rm \
-v {SSL}:/etc/letsencrypt \
-p 80:80 \
-p 443:443 \
fjctp/letsencrypt \
certonly \
--standalone \
--non-interactive \
--agree-tos \
-m {[email protected]} \
-d {YOUR_DOMAIN}
```
The SSL certificate will be located at `{SSL}/live/{YOUR_DOMAIN}`