Skip to content

Instantly share code, notes, and snippets.

@gimntut
Last active July 4, 2024 11:02
Show Gist options
  • Save gimntut/46339606836123d4c2f7f043761d470b to your computer and use it in GitHub Desktop.
Save gimntut/46339606836123d4c2f7f043761d470b to your computer and use it in GitHub Desktop.
services:
certbot:
image: certbot/certbot
volumes:
- ./letsencrypt:/etc/letsencrypt
- /var/lib/letsencrypt:/var/lib/letsencrypt
command: certonly
proxy_set_header Host $host;
proxy_set_header Accept-Encoding "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment