All,
We have an infrastructure where we have 1 consul server, 2 ngnix web servers and 2 application servers. The app servers connects to consul to register the services. The Ngnix server will connect to consul and updates the ngix.conf file using the nginx.ctmpl (consultemplate config) file to have the latest information on the services via consul.
The problem I see is that the nginx.conf is not getting updated on the 2 nginx servers. The following are the agents/services running on each server: Consul server:
- consul
- consultemplate
Ngix servers:
- nginx
- consultemplate
Application Servers:
- consul
Couple of questions here:
- Which agent/process/service on Nginx will use the nginx.cmptl file to update the nginx.conf with the latest status?
- What can be a problem on my nginx servers?