Sonarqube Not Be Served By Caddy

I’m trying to visit a SonarQube installation I have installed behind the Caddy web server. When I visit the site I don’t get a response. I’ve tried proxying 8999(secure) and 9000(unsecure) with Caddy.

Caddyfile {
  tls self_signed
  proxy /
} {
  tls off
  proxy /

# 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.

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


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

What happens if you’re not proxying the connection (i.e. just serving static files)? Are you sure your system is configured properly?

It behaves the same

localhost:80 {
  tls off
  root /opt/sonar/web
  # proxy /

@matt If you visit the site,, it does seem to load a certificate.

I’m not having any connectivity to it. I suspect your network isn’t properly configured or something.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.