ingress auth kind of facility?
Folks, I am looking for something that can be used as a middleware to validate JWT tokens and then proxy to a service.
For example, in k8 nginx ingress you can do this
So your service will first hit the auth-url and open validation do some work(set headers etc).
How can we possibly do this on railway?
8 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.No project ID was provided. Closing thread.
sorry what? Its a general question
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Railway doesn't offer a way, but you can setup Caddy or Nginx and proxy your traffic through there.
Then you can setup whatever you want
You mean have nginx in a dockerfile?
it would involve a dockerfile and a nginx.conf file yes.
as thalles said railway doesn't offer authentication layers, it is up to the apps you deploy to handle their own authentication
cool cool cool