Dockerfile
Dockerfile copied to clipboard
change the order of virtual hosts in nginx
Hi there,
It would be really nice to change the order of hosts in nginx config and make <ALIAS_DOMAIN> the first host, e.g.
server_name <ALIAS_DOMAIN> _ docker; (/etc/nginx/vhost.conf)
For example nginx-vts-module uses only the first host from virtual host, as result it is not possible to do a filter by a host in Prometheus.
Of course I can change the host myself, replacing the file, but it would be really nice to do it only using env variable.
I don't see there any breaking change, as '_' fallback is still there.
Does it make sense?
any updates?