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

CSRF Protection in Django fails behind gateway-lite #6

Open
thejimmyg opened this issue Jul 9, 2019 · 1 comment
Open

CSRF Protection in Django fails behind gateway-lite #6

thejimmyg opened this issue Jul 9, 2019 · 1 comment

Comments

@thejimmyg
Copy link
Owner

When running behind gateway-lite, Django CSRF prevents logging into the Django admin. The same Django app works fine behind an Nginx proxy suggesting there may be a configuration issue with gateway-lite?

@thejimmyg
Copy link
Owner Author

Here is the Nginx output:

HTTP/1.1 200 OK
Server: nginx/1.15.12
Date: Tue, 09 Jul 2019 10:04:29 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 1209
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
Vary: Cookie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant