5 ms·
Does it make sense to reverse proxy a node app behind nginx if the node app only provides a REST API? As far as I know, using nginx in front helps with serving
by emilsedgh 11y ago
Does it make sense to reverse proxy a node app behind nginx if the node app only provides a REST API?
As far as I know, using nginx in front helps with serving static files, which is a moot point on a REST API.
- illyism 11y agoIt makes sense if you want to load balance or port forward or anything similar.
- icebraining 11y agoAs far as I know, using nginx in front helps with serving static files, which is a moot point on a REST API. Well, that depends on the API; for example, a product inventory API might need to serve many product images, a document management API might have to serve PDFs and such, etc.