NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.8k stars 2.65k forks source link

Missing/mangled /etc/resolv.conf prevents nginx from starting #3633

Open naanlizard opened 7 months ago

naanlizard commented 7 months ago

So I've been reworking my whole home stack and part of that was installing among other things, nginx-proxy-manager and adguard home. Adguard home has you edit/replace /etc/resolv.conf or perhaps I did it on my own initiative.

One way or another, my /etc/resolv.conf file was either missing or mangled and so when the container (running this in docker of course) creates the various nginx config files, it throws an error

It would be nice to include some warning or something about what's gone wrong, or perhaps fix it automatically, or work around the issue in some other way.

Hardcoding e.g. google dns would work but maybe annoy privacy minded people, hardcoding local dns may work but I'm not sure, honestly networking is effectively magic to me so I won't try to make specific suggestions.

Thanks y'all, great project other than me shooting myself in the foot like this.

github-actions[bot] commented 4 days ago

Issue is now considered stale. If you want to keep it open, please comment :+1: