Support websockets in static site rewrites
Ralph Landon
Rewrites should support proxying websockets connections to another service.
This is useful for getting around CORS issues.
My static site is at
example.com
and I would like wss://example.com/api
to proxy websocket connections to wss://example-api.onrender.com/api
Log In
C
Charley
It's 2025, can we have an update on this? I agree with Tom here
T
Tom Williams
At the moment I am unsure why I would deploy an app through render that contains any websocket if I need to have a reverse proxy in front of my entire render deployment
A
Anri Asaturov
This seems to be important given the popularity of SPA + ApiServer approach.
r
raghavarya
I'm unable to load any images from the render link. My site is hosted on GitHub pages, whereas , hosting the images on GitHub pages loads the images successfully. I think it's a CORS issue.
G
Gergo Barcza
Can we make this request more generic? Like support a more powerful way to config redirects/rewrites? My feature request would be:
- websocket support
- env var support
- use env vars from databases/services