Railway overwrites server header
we need to remove server header due to security reasons. Our app is built on FastAPI, locally everything seems to be working fine by using this command server header is removed. When deploying to railway we are having this railway.toml file
But it seems that railway overwrites the server header, because it is still set to "server: railway". Is it possible to somehow disable this?
Solution:Jump to solution
Railway does not provide a way to disable the server header they are setting, it would be helpful if you could go more in depth on why you need it removed
4 Replies
Project ID:
N/A
Solution
Railway does not provide a way to disable the server header they are setting, it would be helpful if you could go more in depth on why you need it removed
We are trying to pass ADA CASA Tier 2 assessment. After dynamic scan we got this recommendation:
the server header that railway sets does not disclose any of the technologies involved in serving the page unlike a nginx server header