You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Most secure trustProxy value for a local reverse proxy?聽#1093
The fastify service is listening on localhost and on the same server the reverse proxy listens externally on ports 80/443.
Since the fastify service isn't listening to external requests I think setting trustProxy to trueshould be safe. But I prefer using the strictest settings possible, better to do so and never need it than to not do so and regret it after it's too late.
What would that strictest setting be? To me it looks like it would be "localhost" based on the docs but will that cause any issues? Is it actually the strictest value that will work?
Activity