-
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
Check closest host match when looking for vhost.d/config files before checking default #1309
Comments
jjakob
added a commit
to jjakob/nginx-proxy
that referenced
this issue
Feb 9, 2021
This changes the logic for finding a matching file to the same one used by certificates. This allows wildcard host names to find a matching config file. The container prints "Template error: open /etc/nginx/htpasswd: no such file or directory" if /etc/nginx/htpasswd doesn't exist, but this doesn't impact functionality. A fix would be to make sure that directory is always created.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would be the same thing that happens when looking for certificates, and it would allow wildcard host names to find a custom config file.
The text was updated successfully, but these errors were encountered: