FILE section fails with 'Internal Server Error' for Proxmox












0














a question was asked on the traefik github issues a year ago and closed (seemingly without correctly following up here as suggested by the mod). I am not the OP from github, but I'm using traefik now and encountering the same exact issue.



I'm running traefik from Docker and it routes all the containers with a wildcard LE certificate. The Docker machine is a VM on a Proxmox node and I'd like to be able to "reverse proxy" proxmox the way I use to when I used nginx.



Whenever I browse to the desired frontend https://lab.my.domain I receive a white page stating "Internal Server Error" and in the chrome console it seems as though it's a 500 error.



My system is running:



Traefik v1.7.4 
Docker v18.06.1-ce
Go vgo1.10.4
VM Container Linux by CoreOS 1911.3.0 (Rhyolite)
Kernel v4.14.78-coreos


My toml config is as follows:



logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]

[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
minVersion = "VersionTLS12"
cipherSuites = [
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_RSA_WITH_AES_128_GCM_SHA256",
"TLS_RSA_WITH_AES_256_GCM_SHA384"
]
[entryPoints.api]
address=":8080"

[accessLog]
filePath = "/etc/traefik/log/access.log"
format = "json"
[accessLog.filters]
statusCodes = ["200", "300-302", "404", "500"]
retryAttempts = true
minDuration = "10ms"
[accessLog.fields]
defaultMode = "keep"
[accessLog.fields.names]
"ClientUsername" = "drop"
[accessLog.fields.headers]
defaultMode = "keep"
[accessLog.fields.headers.names]
"User-Agent" = "redact"
"Authorization" = "drop"
"Content-Type" = "keep"

[api]
entryPoint = "api"
dashboard = true
debug = true
[api.statistics]
recentErrors = 10

[ping]
entryPoint = "api"

[acme]
email = "my@email.com"
storage = "/etc/traefik/acme/acme.json"
entryPoint = "https"
acmeLogging = true
caServer = "https://acme-v02.api.letsencrypt.org/directory"
onDemand = false #create certificate when container is created
[acme.dnsChallenge]
provider = "namecheap"
delayBeforeCheck = 0
[[acme.domains]]
main = "*.my.domain"
sans = ["my.domain"]

[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "my.domain"
watch = true
exposedByDefault = false
usebindportip = true

[file]
[backends]
[backends.backend-lab]
[backends.backend-lab.servers]
[backends.backend-lab.servers.server-lab2]
url = "https://192.168.5.20:8006"
weight = 1
[backends.backend-lab.servers.server-lab1]
url = "https://192.168.5.13:8006"
weight = 2
[frontends]
[frontends.frontend-lab]
entryPoints = ["http", "https"]
backend = "backend-lab"
passHostHeader = true
[frontends.frontend-lab.routes]
[frontends.frontend-lab.routes.route-lab]
rule = "Host:lab.my.domain"
[frontends.frontend-lab.auth]
[frontends.frontend-lab.auth.forward]
[frontends.frontend-lab.auth.forward.tls]
insecureSkipVerify = true

[metrics]
[metrics.prometheus]
entryPoint = "api"
buckets = [0.1,0.3,1.2,5.0]


EDIT (Some Debug logs):



time="2018-11-20T15:39:49Z" level=debug msg="Creating route route-lab Host:lab.my.domain"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.13:8006"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.13:8006, code: 500, Length: 21, duration: 191.843816ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.20:8006"
time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.20:8006, code: 500, Length: 21, duration: 8.485916ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"









share|improve this question





























    0














    a question was asked on the traefik github issues a year ago and closed (seemingly without correctly following up here as suggested by the mod). I am not the OP from github, but I'm using traefik now and encountering the same exact issue.



    I'm running traefik from Docker and it routes all the containers with a wildcard LE certificate. The Docker machine is a VM on a Proxmox node and I'd like to be able to "reverse proxy" proxmox the way I use to when I used nginx.



    Whenever I browse to the desired frontend https://lab.my.domain I receive a white page stating "Internal Server Error" and in the chrome console it seems as though it's a 500 error.



    My system is running:



    Traefik v1.7.4 
    Docker v18.06.1-ce
    Go vgo1.10.4
    VM Container Linux by CoreOS 1911.3.0 (Rhyolite)
    Kernel v4.14.78-coreos


    My toml config is as follows:



    logLevel = "DEBUG"
    defaultEntryPoints = ["http", "https"]

    [entryPoints]
    [entryPoints.http]
    address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
    [entryPoints.https]
    address = ":443"
    [entryPoints.https.tls]
    minVersion = "VersionTLS12"
    cipherSuites = [
    "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
    "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
    "TLS_RSA_WITH_AES_128_GCM_SHA256",
    "TLS_RSA_WITH_AES_256_GCM_SHA384"
    ]
    [entryPoints.api]
    address=":8080"

    [accessLog]
    filePath = "/etc/traefik/log/access.log"
    format = "json"
    [accessLog.filters]
    statusCodes = ["200", "300-302", "404", "500"]
    retryAttempts = true
    minDuration = "10ms"
    [accessLog.fields]
    defaultMode = "keep"
    [accessLog.fields.names]
    "ClientUsername" = "drop"
    [accessLog.fields.headers]
    defaultMode = "keep"
    [accessLog.fields.headers.names]
    "User-Agent" = "redact"
    "Authorization" = "drop"
    "Content-Type" = "keep"

    [api]
    entryPoint = "api"
    dashboard = true
    debug = true
    [api.statistics]
    recentErrors = 10

    [ping]
    entryPoint = "api"

    [acme]
    email = "my@email.com"
    storage = "/etc/traefik/acme/acme.json"
    entryPoint = "https"
    acmeLogging = true
    caServer = "https://acme-v02.api.letsencrypt.org/directory"
    onDemand = false #create certificate when container is created
    [acme.dnsChallenge]
    provider = "namecheap"
    delayBeforeCheck = 0
    [[acme.domains]]
    main = "*.my.domain"
    sans = ["my.domain"]

    [docker]
    endpoint = "unix:///var/run/docker.sock"
    domain = "my.domain"
    watch = true
    exposedByDefault = false
    usebindportip = true

    [file]
    [backends]
    [backends.backend-lab]
    [backends.backend-lab.servers]
    [backends.backend-lab.servers.server-lab2]
    url = "https://192.168.5.20:8006"
    weight = 1
    [backends.backend-lab.servers.server-lab1]
    url = "https://192.168.5.13:8006"
    weight = 2
    [frontends]
    [frontends.frontend-lab]
    entryPoints = ["http", "https"]
    backend = "backend-lab"
    passHostHeader = true
    [frontends.frontend-lab.routes]
    [frontends.frontend-lab.routes.route-lab]
    rule = "Host:lab.my.domain"
    [frontends.frontend-lab.auth]
    [frontends.frontend-lab.auth.forward]
    [frontends.frontend-lab.auth.forward.tls]
    insecureSkipVerify = true

    [metrics]
    [metrics.prometheus]
    entryPoint = "api"
    buckets = [0.1,0.3,1.2,5.0]


    EDIT (Some Debug logs):



    time="2018-11-20T15:39:49Z" level=debug msg="Creating route route-lab Host:lab.my.domain"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.13:8006"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.13:8006, code: 500, Length: 21, duration: 191.843816ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.20:8006"
    time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
    time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.20:8006, code: 500, Length: 21, duration: 8.485916ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"









    share|improve this question



























      0












      0








      0







      a question was asked on the traefik github issues a year ago and closed (seemingly without correctly following up here as suggested by the mod). I am not the OP from github, but I'm using traefik now and encountering the same exact issue.



      I'm running traefik from Docker and it routes all the containers with a wildcard LE certificate. The Docker machine is a VM on a Proxmox node and I'd like to be able to "reverse proxy" proxmox the way I use to when I used nginx.



      Whenever I browse to the desired frontend https://lab.my.domain I receive a white page stating "Internal Server Error" and in the chrome console it seems as though it's a 500 error.



      My system is running:



      Traefik v1.7.4 
      Docker v18.06.1-ce
      Go vgo1.10.4
      VM Container Linux by CoreOS 1911.3.0 (Rhyolite)
      Kernel v4.14.78-coreos


      My toml config is as follows:



      logLevel = "DEBUG"
      defaultEntryPoints = ["http", "https"]

      [entryPoints]
      [entryPoints.http]
      address = ":80"
      [entryPoints.http.redirect]
      entryPoint = "https"
      [entryPoints.https]
      address = ":443"
      [entryPoints.https.tls]
      minVersion = "VersionTLS12"
      cipherSuites = [
      "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
      "TLS_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_RSA_WITH_AES_256_GCM_SHA384"
      ]
      [entryPoints.api]
      address=":8080"

      [accessLog]
      filePath = "/etc/traefik/log/access.log"
      format = "json"
      [accessLog.filters]
      statusCodes = ["200", "300-302", "404", "500"]
      retryAttempts = true
      minDuration = "10ms"
      [accessLog.fields]
      defaultMode = "keep"
      [accessLog.fields.names]
      "ClientUsername" = "drop"
      [accessLog.fields.headers]
      defaultMode = "keep"
      [accessLog.fields.headers.names]
      "User-Agent" = "redact"
      "Authorization" = "drop"
      "Content-Type" = "keep"

      [api]
      entryPoint = "api"
      dashboard = true
      debug = true
      [api.statistics]
      recentErrors = 10

      [ping]
      entryPoint = "api"

      [acme]
      email = "my@email.com"
      storage = "/etc/traefik/acme/acme.json"
      entryPoint = "https"
      acmeLogging = true
      caServer = "https://acme-v02.api.letsencrypt.org/directory"
      onDemand = false #create certificate when container is created
      [acme.dnsChallenge]
      provider = "namecheap"
      delayBeforeCheck = 0
      [[acme.domains]]
      main = "*.my.domain"
      sans = ["my.domain"]

      [docker]
      endpoint = "unix:///var/run/docker.sock"
      domain = "my.domain"
      watch = true
      exposedByDefault = false
      usebindportip = true

      [file]
      [backends]
      [backends.backend-lab]
      [backends.backend-lab.servers]
      [backends.backend-lab.servers.server-lab2]
      url = "https://192.168.5.20:8006"
      weight = 1
      [backends.backend-lab.servers.server-lab1]
      url = "https://192.168.5.13:8006"
      weight = 2
      [frontends]
      [frontends.frontend-lab]
      entryPoints = ["http", "https"]
      backend = "backend-lab"
      passHostHeader = true
      [frontends.frontend-lab.routes]
      [frontends.frontend-lab.routes.route-lab]
      rule = "Host:lab.my.domain"
      [frontends.frontend-lab.auth]
      [frontends.frontend-lab.auth.forward]
      [frontends.frontend-lab.auth.forward.tls]
      insecureSkipVerify = true

      [metrics]
      [metrics.prometheus]
      entryPoint = "api"
      buckets = [0.1,0.3,1.2,5.0]


      EDIT (Some Debug logs):



      time="2018-11-20T15:39:49Z" level=debug msg="Creating route route-lab Host:lab.my.domain"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.13:8006"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.13:8006, code: 500, Length: 21, duration: 191.843816ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.20:8006"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.20:8006, code: 500, Length: 21, duration: 8.485916ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"









      share|improve this question















      a question was asked on the traefik github issues a year ago and closed (seemingly without correctly following up here as suggested by the mod). I am not the OP from github, but I'm using traefik now and encountering the same exact issue.



      I'm running traefik from Docker and it routes all the containers with a wildcard LE certificate. The Docker machine is a VM on a Proxmox node and I'd like to be able to "reverse proxy" proxmox the way I use to when I used nginx.



      Whenever I browse to the desired frontend https://lab.my.domain I receive a white page stating "Internal Server Error" and in the chrome console it seems as though it's a 500 error.



      My system is running:



      Traefik v1.7.4 
      Docker v18.06.1-ce
      Go vgo1.10.4
      VM Container Linux by CoreOS 1911.3.0 (Rhyolite)
      Kernel v4.14.78-coreos


      My toml config is as follows:



      logLevel = "DEBUG"
      defaultEntryPoints = ["http", "https"]

      [entryPoints]
      [entryPoints.http]
      address = ":80"
      [entryPoints.http.redirect]
      entryPoint = "https"
      [entryPoints.https]
      address = ":443"
      [entryPoints.https.tls]
      minVersion = "VersionTLS12"
      cipherSuites = [
      "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
      "TLS_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_RSA_WITH_AES_256_GCM_SHA384"
      ]
      [entryPoints.api]
      address=":8080"

      [accessLog]
      filePath = "/etc/traefik/log/access.log"
      format = "json"
      [accessLog.filters]
      statusCodes = ["200", "300-302", "404", "500"]
      retryAttempts = true
      minDuration = "10ms"
      [accessLog.fields]
      defaultMode = "keep"
      [accessLog.fields.names]
      "ClientUsername" = "drop"
      [accessLog.fields.headers]
      defaultMode = "keep"
      [accessLog.fields.headers.names]
      "User-Agent" = "redact"
      "Authorization" = "drop"
      "Content-Type" = "keep"

      [api]
      entryPoint = "api"
      dashboard = true
      debug = true
      [api.statistics]
      recentErrors = 10

      [ping]
      entryPoint = "api"

      [acme]
      email = "my@email.com"
      storage = "/etc/traefik/acme/acme.json"
      entryPoint = "https"
      acmeLogging = true
      caServer = "https://acme-v02.api.letsencrypt.org/directory"
      onDemand = false #create certificate when container is created
      [acme.dnsChallenge]
      provider = "namecheap"
      delayBeforeCheck = 0
      [[acme.domains]]
      main = "*.my.domain"
      sans = ["my.domain"]

      [docker]
      endpoint = "unix:///var/run/docker.sock"
      domain = "my.domain"
      watch = true
      exposedByDefault = false
      usebindportip = true

      [file]
      [backends]
      [backends.backend-lab]
      [backends.backend-lab.servers]
      [backends.backend-lab.servers.server-lab2]
      url = "https://192.168.5.20:8006"
      weight = 1
      [backends.backend-lab.servers.server-lab1]
      url = "https://192.168.5.13:8006"
      weight = 2
      [frontends]
      [frontends.frontend-lab]
      entryPoints = ["http", "https"]
      backend = "backend-lab"
      passHostHeader = true
      [frontends.frontend-lab.routes]
      [frontends.frontend-lab.routes.route-lab]
      rule = "Host:lab.my.domain"
      [frontends.frontend-lab.auth]
      [frontends.frontend-lab.auth.forward]
      [frontends.frontend-lab.auth.forward.tls]
      insecureSkipVerify = true

      [metrics]
      [metrics.prometheus]
      entryPoint = "api"
      buckets = [0.1,0.3,1.2,5.0]


      EDIT (Some Debug logs):



      time="2018-11-20T15:39:49Z" level=debug msg="Creating route route-lab Host:lab.my.domain"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.13:8006"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.13:8006, code: 500, Length: 21, duration: 191.843816ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward/http: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/forward: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.13:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:48Z" level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}" ForwardURL="https://192.168.5.20:8006"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"https","Opaque":"","User":null,"Host":"192.168.5.20:8006","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":""},"Proto":"HTTP/2.0","ProtoMajor":2,"ProtoMinor":0,"Header":{"Accept":["text/html, application/xhtml+xml, image/jxr, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299"]},"ContentLength":0,"TransferEncoding":null,"Host":"lab.my.domain","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"68.173.55.60:50455","RequestURI":"/","TLS":null}"
      time="2018-11-20T15:43:51Z" level=debug msg="vulcand/oxy/forward/http: Round trip: https://192.168.5.20:8006, code: 500, Length: 21, duration: 8.485916ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:lab.my.domain"






      reverse-proxy traefik proxmox






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 28 '18 at 18:56







      Thomas Scibilia

















      asked Nov 20 '18 at 15:37









      Thomas ScibiliaThomas Scibilia

      12




      12
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396467%2ffile-section-fails-with-internal-server-error-for-proxmox%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53396467%2ffile-section-fails-with-internal-server-error-for-proxmox%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]