Not possible to validate configuration: Server returned 500

Hi! I’m getting this error:

?[32m==> Validating App Configuration?[0m
?[31mError?[0m not possible to validate configuration: server returned 500: Internal Server Error

Is this an issue with my fly.toml and command?

Command: flyctl --app edge-reverse-proxy deploy . --dockerfile ../ProxyProductionDockerfile

fly.toml


app = "edge-reverse-proxy"

[[services]]
    internal_port = 8080
    protocol = "http"

    [services.concurrency]
        hard_limit = 1000
        soft_limit = 800

    [[service.ports]]
        handlers = ["tls", "http"]
        port = "443"

    [[services.tcp_checks]]
        interval = 10000
        timeout = 2000

    [[services.http_checks]]
        interval = 10000
        method = "get"
        path = "/health-check"
        protocol = "http"
        timeout = 2000
        tls_skip_verify = true
        [services.http_checks.headers]
app = "edge-reverse-proxy"

[[services]]
    internal_port = 8080
    protocol = "http"

    [services.concurrency]
        hard_limit = 1000
        soft_limit = 800

    [[service.ports]]
        handlers = ["tls", "http"]
        port = "443"

    [[services.tcp_checks]]
        interval = 10000
        timeout = 2000

    [[services.http_checks]]
        interval = 10000
        method = "get"
        path = "/health-check"
        protocol = "http"
        timeout = 2000
        tls_skip_verify = true
        [services.http_checks.headers]

Changing [[service.ports]] to [[services.ports]] should fix it up.

Got it, thank you!