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

Trust information from the Apache proxy #284

Merged
merged 3 commits into from
May 1, 2019
Merged

Conversation

nwalters512
Copy link
Member

Per https://expressjs.com/en/guide/behind-proxies.html, we should set the trust proxy Express variable so that we can get information about the request (for us, all we really care about is the protocol) from the X-Forwarded-* headers.

@vercel
Copy link

vercel bot commented May 1, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Copy link
Member

@james9909 james9909 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚢

@nwalters512 nwalters512 merged commit c2c6a1d into master May 1, 2019
@nwalters512 nwalters512 deleted the fix-cookie-secure branch May 1, 2019 18:10
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

Successfully merging this pull request may close these issues.

3 participants