我在 Nexus 3 中找不到 jetty-https.xml

I can't find jetty-https.xml in Nexus 3

我在 rancher 中安装了一个 Nexus Repository Manager 3 实例,我正在尝试将 https 端口用于 docker 托管存储库。这意味着我需要创建一个自签名证书才能使其正常工作。经过大量研究后,我遇到了一个问题,我无法在 /etc 中找到 jetty-https.xml。问题是,这个文件存在还是我需要创建它?

来源:

修改 /nexus-data/etc/ 中的 nexus.properties 文件并取消注释 nexus-args 并重新启动容器后,jetty-https.xml 出现在 $install-dir/etc/jetty/ 上。如果您检查日志,您可以看到码头配置文件夹的确切位置。