-
Notifications
You must be signed in to change notification settings - Fork 2.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
Bug: Unable to run through reverse proxy #1205
Comments
@RobHofmann are you passing headers? For example, with Nginx:
|
This is how I have my config (which works for about 50 other applications). Do I need to do something special for this app? |
@RobHofmann it looks like this may be the cause of this:
I think if you switch this to By default, Rails uses the Referer header to make sure the POST request is coming from the same origin as the app. If it is disabled like this, it will receive a Are you running other Rails apps successfully with this configuration? I would expect this configuration to throw this error in most Rails apps by default. |
Describe the bug
Getting an error when running through a reverse proxy like Traefik
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Get a normal 200 OK response.
Additional context
The text was updated successfully, but these errors were encountered: