Yes. We have setup this via apache.
- Frontend (FE)
- FE AWS ALB → Apache (=mod_rewrite + mod_proxy) → Nuxtjs (FE)
A front end application will process request and for someEndpoint requests it will be processed by the Nuxtjs application. This is configured with apache as shown below.
SetEnv proxy-nokeepalive 1
SetEnv proxy-initial-not-pooled 1
ProxyPass /someEndpoint http://localhost:3000/someEndpoint
ProxyPassReverse /someEndpoint http://localhost:3000/someEndpoint
and the Nuxtjs application will then communicate to our strapi backend through ALB which is described in the below flow
- Nuxt.js (FE) → BE AWS ALB → Strapi (BE)
However, our strapi service sometimes responds the ECONNRESET error. This is happening on requests that are only communicated with strapi service and during low traffic.