<div dir="ltr">I have a working configuration already, that is using the configuration that is given in jfrog wiki.<div><br></div><div>But when it comes to multiple ip's as mentioned earlier. I am getting a bit confused.</div><div><br></div><div>Below is the error that i get.</div><div><br></div><div><div>root@ip-172-31-10-127:~# docker login XXX.XXX.XXX.XXX</div><div>Username: test</div><div>Password:</div><div>Error response from daemon: Login: <html></div><div><head><title>404 Not Found</title></head></div><div><body bgcolor="white"></div><div><center><h1>404 Not Found</h1></center></div><div><hr><center>nginx/1.10.2</center></div><div></body></div><div></html></div><div> (Code: 404; Headers: map[Server:[nginx/1.10.2] Date:[Sat, 07 Oct 2017 09:11:39 GMT] Content-Type:[text/html] Content-Length:[169]])</div><div>root@ip-172-31-10-127:~#</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 October 2017 at 00:34, Francis Daly <span dir="ltr"><<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Oct 06, 2017 at 07:30:26PM +0530, Syed Imran wrote:<br>
<br>
Hi there,<br>
<br>
> My artifactory application in deployed using docker in port 8081.<br>
<br>
> But when I do a docker login, nginx always returns 405 not found. But the<br>
> web UI works find with both the ip’s.<br>
<br>
Does nginx return 405, or does nginx return "not found"? The distinction<br>
might matter.<br>
<br>
> Is there anything wrong with my nginx configuration. Can someone help.<br>
<br>
There appear to be two "artifactory" documents relating to nginx --<br>
<a href="https://www.jfrog.com/confluence/display/RTF/Configuring+a+Reverse+Proxy" rel="noreferrer" target="_blank">https://www.jfrog.com/<wbr>confluence/display/RTF/<wbr>Configuring+a+Reverse+Proxy</a><br>
and <a href="https://www.jfrog.com/confluence/display/RTF/Configuring+NGINX" rel="noreferrer" target="_blank">https://www.jfrog.com/<wbr>confluence/display/RTF/<wbr>Configuring+NGINX</a><br>
<br>
Do things work if you use exactly the configuration that they suggest?<br>
<br>
If so, then you can start making changes to see where it starts to break.<br>
<br>
Good luck with it,<br>
<br>
        f<br>
<span class="HOEnZb"><font color="#888888">--<br>
Francis Daly        <a href="mailto:francis@daoine.org">francis@daoine.org</a><br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a></font></span></blockquote></div><br></div>