我在Nexus3
中运行Docker
,在nginx reverse-proxy
上运行Docker
。我有自己的ssl
证书。我按照Sonatype的说明进行了操作,以了解如何正确使用反向代理和使用Nexus3证书。问题是,这是我进入存储库时看到的内容:
这可能导致什么?这是我的nginx.conf
:
server {
listen 443 ssl http2;
ssl_certificate /etc/ssl/confidential.com/fullchain.cer;
ssl_certificate_key /etc/ssl/confidential.com/*.confidential.com.key;
server_name internal.confidential.com;
location /test {
proxy_pass http://nexus:8081/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "https";
}