How to edit the default Proxy configuration to add extra request headers?

Hi I have a service running on railway that runs on PORT 9011. I've set the PORT env variable to 9011 to expose the service and I generated a domain name for it, but I need to edit the proxy headers to properly pass the request origin. Any help on this will be really appreciated! Thanks!
3 Replies
Percy
Percy2y ago
Project ID: ced10a85-feb7-44f6-82ff-fb211617954c
hamismad4
hamismad4OP2y ago
ced10a85-feb7-44f6-82ff-fb211617954c
Brody
Brody2y ago
you can't modify railways proxy in anyway, incoming requests will have a host header, you will have to configure your app to verify against the host header
Want results from more Discord servers?
Add your server