Skip to content
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.tmpl: use closest vhost.d and htpasswd files (#1309) #1558

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 9, 2021

  1. nginx.tmpl: use closest vhost.d and htpasswd files (nginx-proxy#1309)

    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.
    jjakob committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    01dfb5b View commit details
    Browse the repository at this point in the history