How to add custom HTTP headers to deployed app
gunni
FREEOP
11 days ago
How can I add custom HTTP headers to my app?
I deployed Cachet, I want to add security headers such as:
Strict-Transport-Security
Content-Security-Policy
X-Frame-Options
X-Content-Type-Options
Referrer-Policy
Can I do so from Railway or do I need to do so via the app itself by modifying it?
Pinned Solution
0x5b62656e5d
FREETop 1% Contributor
11 days ago
You'd need to code your application to send those headers. Railway only hosts applications.
2 Replies
0x5b62656e5d
FREETop 1% Contributor
11 days ago
You'd need to code your application to send those headers. Railway only hosts applications.
gunni
FREEOP
11 days ago
I believe i can solve it by adding a reverse proxy in front, since the app i am deploying is not made by me.
Status changed to Solved brody • 11 days ago