Skip to content

Automatically skip not found hosts when starting container #924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FluffyDiscord opened this issue Mar 19, 2025 · 2 comments
Open

Automatically skip not found hosts when starting container #924

FluffyDiscord opened this issue Mar 19, 2025 · 2 comments
Labels
docker This issue is related to the Docker enhancement New feature or request

Comments

@FluffyDiscord
Copy link

Is your feature request related to a problem? Please describe.
I am migrating to another server. I don't have all services installed yet, but I would like to start nginx-ui to validate and configure what I need before other services. Right now container enters infinite loop when backend isn't reachable. nginx: [emerg] host not found in upstream XXX

Describe the solution you'd like
Monitor nginx startup, if this message shows up, disable that site config and maybe output another warning in logs or show it in the nginx-ui itself.

Describe alternatives you've considered
Manually removing symlinks from the mounted volumes.

Additional context

@FluffyDiscord FluffyDiscord added the enhancement New feature or request label Mar 19, 2025
@0xJacky
Copy link
Owner

0xJacky commented Apr 2, 2025

Sorry, automatically deleting the Nginx configuration files directly is not safe. I'm concerned that it might cause production services to be affected due to accidents. Therefore, we won't implement this requirement. Thank you for your suggestion.

@0xJacky 0xJacky closed this as completed Apr 2, 2025
@0xJacky 0xJacky closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2025
@FluffyDiscord
Copy link
Author

@0xJacky I am not talking about deleting, but disabling. You are already doing it when nginx-ui is running, you won't enable site config if backend doesn't respond/exist, why can't this be also done while nginx-ui boots up?

@0xJacky 0xJacky reopened this Apr 2, 2025
@0xJacky 0xJacky added the docker This issue is related to the Docker label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker This issue is related to the Docker enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants