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

Document problems with reverse proxies and large sign-in redirects #781

Open
kenjenkins opened this issue Jun 30, 2023 · 0 comments
Open
Labels

Comments

@kenjenkins
Copy link
Contributor

Not sure where this should go, maybe in the Troubleshooting page?

What's incorrect or missing

We've had a number of bug reports involving problems when running Pomerium behind another reverse proxy. My understanding is that we don't currently recommend to run Pomerium in this configuration, but it still seems fairly common. One recurring problem relates to large sign-in redirects:

What's the resolution?

Let's add a note in the documentation describing the problem, with examples of the configuration settings in nginx and Apache to permit these large sign-in redirects. Maybe something like this?

When operating Pomerium behind another reverse proxy, you may need to adjust your reverse proxy settings to account for long sign-in redirect URLs.

If using nginx, you may need to set something like:

proxy_buffer_size  32k;

If using Apache, you may need to set something like:

ProxyPass / http:https://<pomerium URL> responsefieldsize=32768
LimitRequestLine 32768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant