Re: nginx serving wrong proxy content, static assets not affected

2023-01-04 Thread Payam Chychi
On Wed, Jan 4, 2023 at 12:33 PM Eduardo Kortright wrote: > I have several servers hosting multiple Rails sites, using nginx as a > reverse proxy. All sites have unique host names and, at least at first, > nginx returns the content for each site correctly (dynamic content from > Rails as well as s

nginx serving wrong proxy content, static assets not affected

2023-01-04 Thread Eduardo Kortright
I have several servers hosting multiple Rails sites, using nginx as a reverse proxy. All sites have unique host names and, at least at first, nginx returns the content for each site correctly (dynamic content from Rails as well as static assets such as images, javascript and CSS). Both Rails an

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-04 Thread Kaushal Shriyan
Hi Maxim, I have tested using the attached nginx.conf file for your reference. I tested using both scenarios. When MySQL DB is down it works as expected. {"errors": "MySQL DB Server is down"} MySQL DB is up and running It reports {"errors": "MySQL DB Server is down"} in spite of MySQL DB serv