I have set up ELB health check (port 80) on this uri - /healthcheck but the problem is I am getting a 301 because nginx redirects all traffic coming at port 80.
My goal is this -
- Use a simple html file (my app serves this file) for ELB health check..
- When I need to take an instance out of rotation, I just use a script to remove this file and so ELB stops sending traffic to this instance.
- Now I can do a deploy. Once all is done, I create the file again and things return to normal again
Aucun commentaire:
Enregistrer un commentaire