<div dir="ltr">Hi,<br><div><br></div><div>I have a specific query regarding the below /etc/nginx/nginx.conf file. </div><div><br></div><div>When I hit this URL <a href="http://219.11.134.114/test/_plugin/kibana/app/kibana">http://219.11.134.114/test/_plugin/kibana/app/kibana</a> on the browser it does not get redirected to <a href="https://vpc-lab-test-search-7hyay88a9kjuisl.eu-north-1.es.amazonaws.com/">https://vpc-lab-test-search-7hyay88a9kjuisl.eu-north-1.es.amazonaws.com/</a>;</div><div><br></div><div># TEST<br>    server {<br>     listen 81;<br>     location /test {<br>        proxy_set_header   X-Forwarded-For $remote_addr;<br>        proxy_set_header   Host $http_host;<br>        fastcgi_read_timeout 240;<br>        proxy_pass         <a href="https://vpc-lab-test-search-7hyay88a9kjuisl.eu-north-1.es.amazonaws.com/">https://vpc-lab-test-search-7hyay88a9kjuisl.eu-north-1.es.amazonaws.com/</a>;<br>        }<br>        error_page 404 /404.html;<br>            location = /40x.html {<br>        }<br><br>        error_page 500 502 503 504 /50x.html;<br>            location = /50x.html {<br>        }<br>    }<br></div><div><br></div><div>Similarly, when I hit this URL <a href="http://219.11.134.114/prod/_plugin/kibana/app/kibana">http://219.11.134.114/prod/_plugin/kibana/app/kibana</a> on the browser it does not get redirected to <a href="https://vpc-lab-prod-search-9aay182kkjoisl.eu-north-1.es.amazonaws.com/">https://vpc-lab-prod-search-9aay182kkjoisl.eu-north-1.es.amazonaws.com/</a></div><div><br></div><div># PROD</div><div>    server {<br>     listen 80;<br>     location /prod {<br>            proxy_set_header   X-Forwarded-For $remote_addr;<br>       proxy_set_header   Host $http_host;<br>            fastcgi_read_timeout 240;<br>          proxy_pass         <a href="https://vpc-lab-prod-search-9aay182kkjoisl.eu-north-1.es.amazonaws.com/">https://vpc-lab-prod-search-9aay182kkjoisl.eu-north-1.es.amazonaws.com/</a>;;<br>        }<br>        error_page 404 /404.html;<br>            location = /40x.html {<br>        }<br><br>        error_page 500 502 503 504 /50x.html;<br>            location = /50x.html {<br>        }<br>    }<br></div><div><br></div><div>Any help will be highly appreciated. Thanks in Advance and I look forward to hearing from you.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Kaushal</div><div><br></div></div>