Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Delay DNS resolution from startup #17

Open
PeterJCLaw opened this issue Sep 27, 2021 · 0 comments
Open

Delay DNS resolution from startup #17

PeterJCLaw opened this issue Sep 27, 2021 · 0 comments

Comments

@PeterJCLaw
Copy link
Member

If DNS entries for non-local proxied things aren't available we almost certainly want NGINX to still start up. We should check that it has a sensible failure mode if the upstream still isn't around when a request comes in though.

The consensus seems to be that using a variable in the NGINX config is the way to achieve this:

https://www.nginx.com/blog/dns-service-discovery-nginx-plus/ appears to have more detailed information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant