Created
December 5, 2015 10:16
-
-
Save cgarnier/8892a2d93eddb68eca63 to your computer and use it in GitHub Desktop.
nginx proxy conf for docker registry
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; | |
server_name docker.domain.tld; | |
client_max_body_size 1G; | |
ssl on; | |
ssl_certificate /path/to/certs/registry.bundle.crt; | |
ssl_certificate_key /path/to/certs/registry.key; | |
location / { | |
proxy_pass https://127.0.0.1:5000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment