Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodrigobaron/nginx-letsencrypt
An Nginx + Letsencrypt Docker container which self-sign the certificate and reverse-proxy to application.
https://github.com/rodrigobaron/nginx-letsencrypt
docker letsencrypt nginx reverse-proxy
Last synced: about 1 month ago
JSON representation
An Nginx + Letsencrypt Docker container which self-sign the certificate and reverse-proxy to application.
- Host: GitHub
- URL: https://github.com/rodrigobaron/nginx-letsencrypt
- Owner: rodrigobaron
- License: mit
- Created: 2021-11-23T01:28:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T22:41:33.000Z (over 2 years ago)
- Last Synced: 2024-12-11T18:53:08.644Z (about 1 month ago)
- Topics: docker, letsencrypt, nginx, reverse-proxy
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx-Letsencrypt Docker
An Nginx + Letsencrypt Docker container which self-sign the certificate and reverse-proxy to application.
## How to use:
To generate certificate each time (WARN: you can generate only 10 certificates in time span of 3 hours, check the [rate limit](https://letsencrypt.org/docs/rate-limits/) / IP):
```bash
docker run -e DOMAIN=domain.example.com -e [email protected] -p 80:80 -p 443:443 -d rodrigobaron/nginx-letsencrypt:1.15.5-alpine
```To use existing certificates:
```bash
docker run -v /opt/certs:/etc/letsencrypt -e DOMAIN=domain.example.com -e [email protected] -p 80:80 -p 443:443 -d rodrigobaron/nginx-letsencrypt:1.15.5-alpine
```To change nginx configuration:
```bash
docker run -v /opt/nginx-config:/etc/nginx/conf.d/ -e DOMAIN=domain.example.com -e EMAIL=emailexample.com -p 80:80 -p 443:443 -d rodrigobaron/nginx-letsencrypt:1.15.5-alpine
```# Reference
This is an fork of [Ilhicas](https://github.com/Ilhicas/nginx-letsencrypt) work.