Nginx proxy which works with service discovery