-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
404 Response Code #170
Comments
|
Can you provide some details on what you mean by "behind a load balancer"? This will help us reproduce |
This is enough to reproduce:
The last request is HEAD, not GET. The mailhog server had to respond with 200, not 404. |
Same happens to me when using behind Nginx. Nginx config I'm using: https://gist.github.com/blakethepatton/7928abb131593fd192606b681ee47b2b Started with this, but it didn't work either: #117 (comment) Found the solution for nginx at least. Instead of
using (added trailing slash)
|
Additional note. If you're running Mailhog behind a reverse proxy / loadbalancer and you're binding it to a different path, the Example with Caddy:
|
The same problem here api has started with correct path: |
I am trying to use this as a backend behind a load balancer.
The backend returns a 404, I am able to replicate with a curl request (works via my browser).
I am going to do some debugging, wanted to create an issue to see if others have seen this behavior.
The text was updated successfully, but these errors were encountered: