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

add support for trustProxy option #769

Merged
merged 5 commits into from
Dec 14, 2024

Conversation

twalling
Copy link
Contributor

This adds support for the trustProxy option. Since that option can take many different forms I added 3 new arguments based on the conversation I saw on a similar PR that was closed.

#654

Checklist

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@twalling
Copy link
Contributor Author

twalling commented Nov 8, 2024

Any update on this? We either need to stop using fastify-cli or wait until this feature can be supported.

@twalling
Copy link
Contributor Author

@mcollina last time I'll poke this thread, I just need to decide if we migrate out and write our own start.ts script.

@mcollina
Copy link
Member

I'll land this tomorrow

@twalling
Copy link
Contributor Author

twalling commented Dec 3, 2024

@mcollina any plans on releasing this?

@mcollina
Copy link
Member

mcollina commented Dec 7, 2024

apparently, linting and typescript are failing (sorry for notnhaving spotted this sooner). Can you fix those? Maybe even rebase on top of main.

@twalling
Copy link
Contributor Author

twalling commented Dec 7, 2024

No problem. I just pushed the fixes for that.

@mcollina
Copy link
Member

mcollina commented Dec 8, 2024

CI is not green, I think the fix for that just landed. Can you take a look?

@mcollina mcollina merged commit a8f531a into fastify:master Dec 14, 2024
11 checks passed
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.

2 participants