Skip to content

Instantly share code, notes, and snippets.

@cgarnier
Created December 5, 2015 10:16
Show Gist options
  • Save cgarnier/8892a2d93eddb68eca63 to your computer and use it in GitHub Desktop.
Save cgarnier/8892a2d93eddb68eca63 to your computer and use it in GitHub Desktop.
nginx proxy conf for docker registry
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