codesuki / ecs-nginx-proxy

Reverse proxy for AWS ECS. Lets you address your docker containers by sub domain.
MIT License
98 stars 23 forks source link

Use 'name' for upstream #13

Closed masterful closed 7 years ago

masterful commented 7 years ago

As mentioned in the other PR, the motivation for this is to allow for multiple domain names/regex matching within the server_name field, without breaking the nginx.conf syntax.

This PR could actually be merged separately from the ecs-gen one, but it really only makes sense if given the extra values. (Merging this one before the other should not break existing templates, since the values being inserted should be the same).