Last active
August 25, 2021 18:48
-
-
Save jchen42703/75aae3bf9059d22b3bdb643cb1103864 to your computer and use it in GitHub Desktop.
nginx docker ssl generation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker-compose.yml | |
services: | |
letsencrypt-nginx-container: | |
container_name: 'letsencrypt-nginx-container' | |
image: nginx:latest | |
ports: | |
- "80:80" | |
volumes: | |
- ./nginx.conf:/etc/nginx/conf.d/default.conf | |
networks: | |
- docker-network | |
networks: | |
docker-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test with staging
If that works, clean up staging artifacts with:
Get the actual certs with:
Temp close the docker