Last active
April 24, 2020 17:31
-
-
Save lechidung/0c8028894e9f10001e5d0dca013aab69 to your computer and use it in GitHub Desktop.
sample nginx with SSL proxy docker
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
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