I'm trying to install a standalone archiva server and running into a problem with an nginx ssl proxy. I can hit the proxy, but I get a 502 bad gateway error to the jetty server behind it. Nginx returns this:
connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream.
client: xxx.xx.xx.xxx,
server: server.at.aws,
request: "GET /archiva HTTP/1.1",
upstream: "http://127.0.0.1:8080/archiva",
host: "server.at.aws"
This is on an AWS instance. The jetty server is listening on port 127.0.0.1:8080. I have confirmed that I can get to the archiva server from within the instance itself. Is there any special configuration that the Jetty server needs to make it accept the proxy connection?