I have a working Traefik with secure port. However a POST request is not working on the webpage. Why?

I managed to connect via secure port with self-signed certificates to my web-server via SSH tunnel.

In the client computer I do ssh <user>@<ip> -NL 9999:localhost:10443 so I check the server port 10443 in https://locahost:9999. I can see the webpage in the client side but when I type the username and password on the login page, nothing happens. the POST request fails. What am I missing? Here is my code.

static file

  level = "INFO"
  filePath = "/var/log/traefik/traefik.log"

  providersThrottleDuration = "2s"
    directory = "/opt/traefik/routes"
    watch = true

  insecure = true
  dashboard = true

    address = ":10080"
    address = ":8081"
    address = ":10443"

  insecureSkipVerify = true

dynamic file (my certificate CN=localhost)

  certFile = "/opt/traefik/SSL/mycert.crt"
  keyFile = "/opt/traefik/SSL/mycert.key"

    minVersion = "VersionTLS12"
    cipherSuites = [

    service = "api@internal"
    entryPoints = ["websecure"]
    rule = "Host(`localhost`)"
    service = "name"

    url = ""

Traefik does not differentiate between GET and POST, only when you set up according middlewares.

Do you mean this problem has nothing to do with Traefik? Or that I need to add additional middlewares to fix it? It was not clear to me what you meant. Thank you

It’s not Traefik, should be something else.