infrastructure/hammerhead/app/nginx/config/dummy-http-server.tpl

17 lines
340 B
Smarty
Raw Normal View History

upstream dummy-http-server-backend {
{{ range service "dummy-http-server" }}
server {{ .Address }}:{{ .Port }};
{{ else }}
server 127.0.0.1:65535; # force a 502
{{ end }}
}
server {
listen 80;
listen [::]:80;
server_name dummy.hammerhead.luxeylab.net;
location / {
proxy_pass http://dummy-http-server-backend;
}
}