<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 23 Jul 2020 at 22:50, Kaushal Shriyan <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I am running nginx version: nginx/1.16.1 on CentOS Linux release 7.8.2003 (Core). I have configured the below settings in /etc/nginx/nginx.conf.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"># For more information on configuration, see:<br># * Official English Documentation: <a href="http://nginx.org/en/docs/" target="_blank">http://nginx.org/en/docs/</a><br># * Official Russian Documentation: <a href="http://nginx.org/ru/docs/" target="_blank">http://nginx.org/ru/docs/</a><br>user nginx;<br>worker_processes auto;<br>error_log /var/log/nginx/error.log;<br>pid /run/nginx.pid;<br># Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.<br>include /usr/share/nginx/modules/*.conf;<br>events {<br> worker_connections 1024;<br>}<br>http {<br> log_format main '$remote_addr - $remote_user [$time_local] "$request" '<br> '$status $body_bytes_sent "$http_referer" '<br> '"$http_user_agent" "$http_x_forwarded_for"';<br> access_log /var/log/nginx/access.log main;<br> sendfile on;<br> tcp_nopush on;<br> tcp_nodelay on;<br> keepalive_timeout 65;<br> types_hash_max_size 2048;<br> include /etc/nginx/mime.types;<br> default_type application/octet-stream;<br> # Load modular configuration files from the /etc/nginx/conf.d directory.<br> # See <a href="http://nginx.org/en/docs/ngx_core_module.html#include" target="_blank">http://nginx.org/en/docs/ngx_core_module.html#include</a><br> # for more information.<br> include /etc/nginx/conf.d/*.conf;<br><br> server {<br> listen 80;<br> location /test {<br> proxy_set_header X-Forwarded-For $remote_addr;<br> proxy_set_header Host $http_host;<br> proxy_pass <a href="https://vpc-test-search-9n18zc18u2ffd3n4ywapz7jkrde.us-west-1.es.amazonaws.com" target="_blank">https://vpc-test-search-9n18zc18u2ffd3n4ywapz7jkrde.us-west-1.es.amazonaws.com</a>;<br> }<br> location /prod {<br> proxy_set_header X-Forwarded-For $remote_addr;<br> proxy_set_header Host $http_host;<br> proxy_pass <a href="https://vpc-prod-search-zvf8bfaabstcc6gi7sklqh7ll4.us-west-1.es.amazonaws.com" target="_blank">https://vpc-prod-search-zvf8bfaabstcc6gi7sklqh7ll4.us-west-1.es.amazonaws.com</a>;<br> }<br><br><br> error_page 404 /404.html;<br> location = /40x.html {<br> }<br> error_page 500 502 503 504 /50x.html;<br> location = /50x.html {<br> }<br> }<br>}</blockquote><div><br></div><div>When I hit <a href="http://34.247.80.31/prod" target="_blank">http://14.217.10.21/prod</a> I am seeing the below issue in nginx access log (/var/log/nginx/access.log)</div><div><br></div><div>114.18.113.6 - - [23/Jul/2020:17:14:35 +0000] "GET /prod HTTP/1.1" <b>499</b> 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36" "-" </div><div><br></div><div>114.18.113.6 - - [23/Jul/2020:17:15:35 +0000] "GET /prod HTTP/1.1" <b>504</b> 3693 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36" "-"<br></div><div><br></div><div><br></div><div><div><img src="cid:ii_kcz26ipy0" alt="image.png" style="width:667px;max-width:100%"><br></div></div><div><br></div><div>Please let me know if you need any additional information. Any help will be highly appreciated. Thanks in Advance. I look forward to hearing from you.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal </div></div></blockquote><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">Checking in again if someone can pitch in for help regarding my earlier email to this mailing list.</div><div dir="auto"><br></div><div dir="auto">Thanks in advance </div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto"><br></div><div dir="auto">Kaushal</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div></div>
</blockquote></div></div>