-
Notifications
You must be signed in to change notification settings - Fork 3k
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
nginx_proxy failed (21: Is a directory) #923
Comments
I have same issue. I resolve it by creating volume and putting my_proxy.conf to this volume
in nginx-conf dir i have my_proxy.conf I think in my case this is all because the folder was in the host directory, so path |
Maybe it helps someone else. I had this same message and the container restarted again and again. For me the problem was that I had a typo in my local config file path and docker created it as a directory instead:
With this docker created /home/sirdiego/folder-with-typo/my_proxy.conf as a DIRECTORY and so the proxy could not load the file. After I fixed the typo inside the mount everything worked fine... |
Make sure you use an absolute path when mounting a docker volume! I had the same issue when I tried to mount a volume with a relative path. |
I'm trying to override the .conf file for a subdomain (I've tried to do it with the domain too) and when I try to run my container I see this
when my volumes are these:
Im not sending two files with the same name. Any idea?
The text was updated successfully, but these errors were encountered: