ELB 檢查 nginx Health Check
在設定檔加上,若他直接吐出 200 的狀態即可
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /elb-status { | |
access_log off; | |
return 200; | |
} |
設定完成後重開nginx後可以試著連看看:http://ip/elb-status
參考來源:http://goo.gl/VjhymQ
留言
發佈留言