Nginx configuration with artifactory

Syed Imran smart.imran003 at gmail.com
Sat Oct 7 09:14:27 UTC 2017


I have a working configuration already, that is using the configuration
that is given in jfrog wiki.

But when it comes to multiple ip's as mentioned earlier. I am getting a bit
confused.

Below is the error that i get.

root at ip-172-31-10-127:~# docker login XXX.XXX.XXX.XXX
Username: test
Password:
Error response from daemon: Login: <html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.10.2</center>
</body>
</html>
 (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]])
root at ip-172-31-10-127:~#


On 7 October 2017 at 00:34, Francis Daly <francis at daoine.org> wrote:

> On Fri, Oct 06, 2017 at 07:30:26PM +0530, Syed Imran wrote:
>
> Hi there,
>
> > My artifactory application in deployed using docker in port 8081.
>
> > But when I do a docker login, nginx always returns 405 not found. But the
> > web UI works find with both the ip’s.
>
> Does nginx return 405, or does nginx return "not found"? The distinction
> might matter.
>
> > Is there anything wrong with my nginx configuration. Can someone help.
>
> There appear to be two "artifactory" documents relating to nginx --
> https://www.jfrog.com/confluence/display/RTF/Configuring+a+Reverse+Proxy
> and https://www.jfrog.com/confluence/display/RTF/Configuring+NGINX
>
> Do things work if you use exactly the configuration that they suggest?
>
> If so, then you can start making changes to see where it starts to break.
>
> Good luck with it,
>
>         f
> --
> Francis Daly        francis at daoine.org
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171007/728d6acd/attachment.html>


More information about the nginx mailing list