简体   繁体   English

如何为入站SSL配置Nexus Sonatype docker映像?

[英]How to Configure Nexus Sonatype docker image for inbound SSL?

I installed NexusOSS using docker-nexus on AWS, to use it as a docker private repository. 我在AWS上使用docker -nexus安装了NexusOSS,以将其用作docker私有存储库。 After installation, I realized that docker private repo is enabled only if its inbound SSL is configured. 安装后,我意识到只有配置了入站SSL后,才会启用docker private repo。 Per documentation it can be done in two ways. 每个文档可以通过两种方式完成。 I am trying to see how embedded jetty can be enabled for SSL. 我正在尝试看看如何为SSL启用嵌入式码头。

I used an nginx reverse proxy in front of nexus to get SSL connections to docker repo. 我在nexus前面使用了一个nginx反向代理来获取到docker repo的SSL连接。 I am running nexus and nginx in docker containers. 我在docker容器中运行nexus和nginx。 I have a hosted and proxy docker repo and a group docker repo including the hosted and proxy one. 我有一个托管和代理的docker repo和一个包含托管和代理的docker组repo。 The HTTP port for the group repo is 5000 (which is used to access all docker registry via nginx.conf) 组存储库的HTTP端口为5000(用于通过nginx.conf访问所有docker注册表)

Here is my approach with steps in README.md: https://github.com/akailash/nginx_nexus 这是我在README.md中的步骤的方法: https : //github.com/akailash/nginx_nexus

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM