Skip to content

Instantly share code, notes, and snippets.

@lechidung
Last active April 24, 2020 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lechidung/0c8028894e9f10001e5d0dca013aab69 to your computer and use it in GitHub Desktop.
Save lechidung/0c8028894e9f10001e5d0dca013aab69 to your computer and use it in GitHub Desktop.
sample nginx with SSL proxy docker
server {
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
server_name builder-docker.viovi.site;
location / {
proxy_pass http://0.0.0.0:8180;
}
ssl_certificate /etc/letsencrypt/live/builder-docker.viovi.site/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/builder-docker.viovi.site/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment