Medikornov
Medikornov
RRailway
Created by Medikornov on 9/6/2024 in #✋|help
fails to grow volume
No description
15 replies
RRailway
Created by Medikornov on 6/9/2024 in #✋|help
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
uvicorn src.main:app --no-server-header
uvicorn src.main:app --no-server-header
server header is removed. When deploying to railway we are having this railway.toml file
[deploy]
numReplicas = 1
startCommand = "alembic upgrade head && uvicorn src.main:app --no-server-header --host 0.0.0.0 --port $PORT"
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10
[deploy]
numReplicas = 1
startCommand = "alembic upgrade head && uvicorn src.main:app --no-server-header --host 0.0.0.0 --port $PORT"
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10
But it seems that railway overwrites the server header, because it is still set to "server: railway". Is it possible to somehow disable this?
6 replies
RRailway
Created by Medikornov on 2/29/2024 in #✋|help
Postgres db doesn't migrate
No description
3 replies