<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1478231495078_8939">Hi,</div><div id="yui_3_16_0_ym19_1_1478231495078_8940">Following is the environment <br></div><div id="yui_3_16_0_ym19_1_1478231495078_8944" dir="ltr">OS: CentOS 7 (64 bit) <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8953">NGINX: 1.10.1</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8981">PHP/PHP-FPM: 5.6 <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8989">ZF2 <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8997">Apache 2.4</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8998"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_8999">The Web application is running with HTTPD configured to port 9080 and NGINX on port 80</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9007">There is an option to set the date, time and timezone from the app.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9094">Whenever the date or time is changed on port-80, I get a 504 Bad gateway error but this error is not seen when Apache is used.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9095">When the timezone is changed, this 504 error does not come.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9096"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9101">NOTE: The entire application is being serviced using message queue and when the time/date setting is bypassed, I don't see the error. <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9124"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9125">Any idea why NGINX is behaving this way? <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9126"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1478231495078_9127">-Best</div><div dir="ltr">Hemanth<br></div><div dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1478231495078_8942"><span></span></div><div id="yui_3_16_0_ym19_1_1478231495078_8943"> </div><div class="signature" id="yui_3_16_0_ym19_1_1478231495078_8952">-Hemanth</div></div></body></html>