This site can’t be reached on https

Hi!
I have a problem with https with traefik 1.7 (similar was on 2.0). I try to make the dashboard sercure with ssl and let's encrypt but when I go on https://traefik.site.domain I get:

This site can’t be reached

**traefik.site.domain**  refused to connect.

Try:

* Checking the connection
* [Checking the proxy and the firewall](chrome-error://chromewebdata/#buttons)

ERR_CONNECTION_REFUSED

when I try to go site normal through http everything is fine and I see normal dashboard.

docker-compose.yml

version: '3.6'

services:
  proxy:
    image: traefik:1.7-alpine
    command: --api
    restart: always
    volumes:
      - ./traefik/traefik.toml:/etc/traefik/traefik.toml
      - ./acme/:/etc/traefik/acme/
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 80:80
      - 443:433
    labels:
      - "traefik.enable=true"
      - "traefik.frontend.rule=Host:traefik.site.domain"
      - "traefik.port=8080"
      - "traefik.backend=proxy"

traefik/traefik.toml

################################################################
# Global configuration
################################################################

debug = true
logLevel = "DEBUG"
insecureSkipVerify = true
sendAnonymousUsage = false

defaultEntryPoints = ["http", "https"]

[entryPoints]
    [entryPoints.http]
    address = ":80"
    [entryPoints.https]
    address = ":443"
    [entryPoints.https.tls]

[docker]
    endpoint = "unix:///var/run/docker.sock"
    exposedbydefault = false
    network = "asset-proxy"
    #[Docker.TLS]
    #  insecureSkipVerify = true

[acme]
email = "email@domain.com"
storage = "acme.json"
caServer = "https://acme-staging-v02.api.letsencrypt.org/directory"
entryPoint = "https"
onHostRule = true
#  [acme.tlsChallenge]
    [acme.httpChallenge]
    entryPoint = "http"

docker ps

CONTAINER ID        IMAGE                                                COMMAND                  CREATED             STATUS              PORTS                                      NAMES
a8fc851ef673        traefik:1.7-alpine                                   "/entrypoint.sh --api"   3 minutes ago       Up 8 seconds        0.0.0.0:80->80/tcp, 0.0.0.0:443->433/tcp   project_proxy_1

Do you have any ideas why I can't reach https site? When I make nginx with https and similiar site eveything was fine

Hi,

Does your acme.json file is getting updated when you start your traefik container ?
Can you drop logs ?
Then it could be nothing but IMO
./acme/:/etc/traefik/acme/ should be ./acme.json:/etc/traefik/acme.json

I don't know what exactly cause error. I doesn't have any idea, so I delete all and one more time configure traefik2 and everything starts work. I think there could be problem with cert resolver. I could initialize incorrectly them but these are my guesses.