On Thu, Mar 2, 2023 at 11:27 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:
On Wed, Mar 1, 2023 at 7:24 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:On Tue, Feb 28, 2023 at 8:35 AM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:Hi,I am running the nginx version: nginx/1.22 as a reverse proxy server and apache httpd version 2.4.55 as web server on CentOS Linux release 7.9.2009 (Core). Drupal CMS version is 9.5.3 which is a php framework, MySQL DB version is 8.0.32User -> https://develop.mydomain.com/user/loginUser -> Nginx Reverse Proxy -> Apache Web server -> PHP-FPM -> MySQL DB1. If MySQL DB is down, then
Render 500 JSON output to REST API Calls for Internal Server errorRender 500 html output to UI for Internal Server error (https://develop.mydomain.com/apis/)
2. PHP-FPM Service is down, then
Render 502 JSON output to REST API Calls for bad gatewayRender 502 html output to UI for bad gatewayUI Dashboard :- https://develop.mydomain.com/user/loginREST API Call :- https://develop.mydomain.com/apisPlease guide me. Thanks in advance.Best Regards,KaushalHi,Checking in again if someone can pitch in for my earlier post to this mailing list. Thanks in Advance.Best Regards,KaushalHi,Checking in again if someone can pitch in for my earlier post to this mailing list. Thanks in Advance.Best Regards,Kaushal
Hi Kaushal,
Can you share your current code?
- Jigar