Skip to content

Instantly share code, notes, and snippets.

@marcelo-ochoa
Created October 28, 2019 14:48
Show Gist options
  • Save marcelo-ochoa/55b07f94a7a459f64edd19f1004319b9 to your computer and use it in GitHub Desktop.
Save marcelo-ochoa/55b07f94a7a459f64edd19f1004319b9 to your computer and use it in GitHub Desktop.
Config file to define a frontend for registry UI
upstream registry-ui {
server 10.0.1.20:5008;
server 10.0.1.22:5008;
}
server {
listen 80;
server_name registry-ui.mydomain.com;
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://registry-ui/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment