Caddy 不支持 Sonarqube

Caddy 不支持 Sonarqube

我正在尝试访问我在 Caddy 网络服务器后面安装的 SonarQube 安装。当我访问该网站时,我没有收到响应。我尝试使用 Caddy 代理 8999(安全)和 9000(不安全)。

Caddy文件

https://52.176.62.43 {
  tls self_signed
  gzip
  proxy / 127.0.0.1:8999  
}

http://52.176.62.43 {
  tls off
  gzip
  proxy / 127.0.0.1:9000
}

sonar.properties

# Binding IP address. For servers with more than one IP address, this property specifies which
# address will be used for listening on the specified ports.
# By default, ports will be used on all IP addresses associated with the server.
sonar.web.host=127.0.0.1

# Web context. When set, it must start with forward slash (for example /sonarqube).
# The default value is root context (empty value).
#sonar.web.context=
# TCP port for incoming HTTP connections. Default value is 9000.
#sonar.web.port=9000
sonar.web.https.port=8999

卷曲

curl -I https://52.176.62.43/
curl: (7) Failed to connect to 52.176.62.43 port 443: Operation timed out

相关内容