Skip to content

Instantly share code, notes, and snippets.

@RyanWor
Forked from marcelo-ochoa/registry-ui.conf
Last active December 1, 2021 22:29
Show Gist options
  • Save RyanWor/e208cad41fd29e7fa2e1fa2688f3c867 to your computer and use it in GitHub Desktop.
Save RyanWor/e208cad41fd29e7fa2e1fa2688f3c867 to your computer and use it in GitHub Desktop.
Config file to define a frontend for registry UI
upstream registry-ui {
server 10.0.0.15:5008;
server 10.0.0.150:5008;
}
server {
listen 80;
server_name registry-ui.ryann.dev;
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