Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is bad for stuff like this because nginx doesn't re-resolve DNS records after process startup. So if an IP address behind the hostname changes, things will just hard stop working. Using it explicitly as a variable coerces nginx into actually resolving DNS regularly to pick up changes like a normal client.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: