我按照此链接在我的 VPS 上安装了 bitwardenhttps://bitwarden.com/help/article/install-on-premise/。运行时最后出现错误,bitwarden.sh start
错误信息为:
Creating bitwarden-nginx ... error
ERROR: for bitwarden-nginx Cannot start service nginx: driver failed programming external connectivity on endpoint bitwarden-nginx (MYHASH): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint bitwarden-nginx (MYHASH): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
我更改了哈希值,因为我不知道它们是否应该公开。我的原始哈希值现在是“MYHASH”
我想在 apache2 上安装 bitwarden,而不是 nginx。我该如何解决此错误?是否有必要安装 nginx?
答案1
嗯,简单的答案就是改变嵌入式 nginx 监听的端口,并通过 apache 转发所有连接