We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Health check needs basic auth when MAILDEV_BASE_PATHNAME, MAILDEV_WEB_USER and MAILDEV_WEB_PASS are active.
I think the problem is in auths.js :
// allow health checks without auth if (req.path === '/healthz') { return next() }
doesn't works with MAILDEV_BASE_PATHNAME.
to reproduce : with docker-compose.yml
maildev: image: maildev/maildev:latest # latest = 2.1.0 container_name: maildev environment: MAILDEV_BASE_PATHNAME: "/mail" MAILDEV_WEB_USER: "maildev" MAILDEV_WEB_PASS: "maildev" ports: - "1080:80" # - "1025:25"
command :
docker-compose up -d maildev docker-compose exec maildev wget -O - http://localhost:1080/mail/healthz
result :
wget: server returned error: HTTP/1.1 401 Unauthorized
The text was updated successfully, but these errors were encountered:
Any info when can this be resolved? I'm also affected.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Health check needs basic auth when MAILDEV_BASE_PATHNAME, MAILDEV_WEB_USER and MAILDEV_WEB_PASS are active.
I think the problem is in auths.js :
doesn't works with MAILDEV_BASE_PATHNAME.
to reproduce :
with docker-compose.yml
command :
result :
The text was updated successfully, but these errors were encountered: