Add redirects/rewrites to render.yaml
complete
B
Braden Sidoti
We want to add render.yaml generation to https://local-compose.clerk.dev and it leverages a proxy that we could emulate through rewrites.
Log In
Adrian Duong
complete
Check it out in the docs: https://render.com/docs/yaml-spec#static-site-routes
s
smakinson
Possible to access secret files or env vars somehow in rewrites in yaml file?
Adrian Duong
smakinson: I'm not sure about what you mean. Can you give an example or elaborate on the use case?
s
smakinson
Adrian Duong: for example if you had an api key you wanted to keep secret and use as part or a rewrite/proxy
Adrian Duong
smakinson: currently, the rewrites/redirects are URL-based, so the key would still be exposed in the URL. This isn't a limitation of render.yaml, but just our rewrites/redirects feature in general. You can create a separate feature request for accessing secrets for rewrites and we'll review that separately.
Anurag Goel
in progress
Anurag Goel
planned
P
PlatformKit
Anurag Goel: Last update was 2019, what's the status of this?