Can't reach Traefik from network on port 80












0















I'm trying to set up a Traefik to redirect Hostnames to ports on a server in my company network with several applications.



When I try to access the reverse proxy on port 80 with the host name "evolution" (DNS redirects evolution to 192.168.XX.XX), I can't reach Traefik (nothing on logs).



If I try the same thing directly on server hosting Traefik, I can reach Traefik (logs show my connection and redirection).



Thanks for you help, find more details below.



Examples with curl :



From my machine away on the server :



curl -v evolution.example.com
* Rebuilt URL to: evolution.example.com/
* timeout on name lookup is not supported
* Trying 192.168.33.33...
* connect to 192.168.33.33 port 80 failed: Timed out
* Failed to connect to evolution.example.com port 80: Timed out
* Closing connection 0
curl: (7) Failed to connect to evolution.example.com port 80: Timed out


From the server :



curl -v evolution.example.com
* Rebuilt URL to: evolution.example.com/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to evolution.example.com (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: evolution.example.com
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Content-Length: 0
< Date: Mon, 19 Nov 2018 15:44:40 GMT
< Expires: 0
< Location: http://evolution.example.com /signin;jsessionid=BB9A3713AD88C77324B318C142A44B6A?error=403
< Pragma: no-cache
< Server: Apache-Coyote/1.1
< Set-Cookie: JSESSIONID=BB9A3713AD88C77324B318C142A44B6A; Path=/; HttpOnly
< X-Content-Type-Options: nosniff
< X-Frame-Options: DENY
< X-Xss-Protection: 1; mode=block
<
* Curl_http_done: called premature == 0
* Connection #0 to host evolution.example.com left intact


Here is my docker-compose file



version: '3'

services:
proxy:
image: traefik:v1.7-alpine
command: --web --docker --docker.domain=example.com --logLevel=DEBUG
restart: unless-stopped
networks:
- web
ports:
- "80:80"
- "8080:8080"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /app/docker/volumes/traefik/traefik.toml:/etc/traefik/traefik.toml
- /app/docker/volumes/traefik-certs:/app/traefik/certs

networks:
web:


Here is the traefik.toml



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

# Enable debug mode
#
# Optional
# Default: false
#
debug = true

# Log level
#
# Optional
# Default: "ERROR"
#
# logLevel = "ERROR"

# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
#
# Optional
# Default: ["http"]
#
#defaultEntryPoints = ["http", "https"]
defaultEntryPoints = ["http"]

# Entrypoints definition
#
# Optional
# Default:
[entryPoints]
[entryPoints.http]
address = ":80"
#[entryPoints.http.redirect]
#entryPoint = "https"
#[entryPoints.https]
# minVersion = "VersionTLS12"
# address = ":443"
# [entryPoints.https.tls]
# [[entryPoints.https.tls.certificates]]
# CertFile="/app/docker/volumes/traefik-certs/server.cert"
# KeyFile="/app/docker/volumes/traefik-certs/server.key"

# Traefik logs
# Enabled by default and log to stdout
#
# Optional
#
# [traefikLog]

# Sets the filepath for the traefik log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.
#
# Optional
# Default: os.Stdout
#
filePath = "/app/docker/volumes/traefik/log/traefik.log"

# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "common"

# Enable access logs
# By default it will write to stdout and produce logs in the textual
# Common Log Format (CLF), extended with additional fields.
#
# Optional
#
# [accessLog]

# Sets the file path for the access log. If not specified, stdout will be used.
# Intermediate directories are created if necessary.
#
# Optional
# Default: os.Stdout
#
# filePath = "/path/to/log/log.txt"

# Format is either "json" or "common".
#
# Optional
# Default: "common"
#
# format = "common"

################################################################
# Web configuration backend
################################################################

# Enable web configuration backend
[web]

# Web administration port
#
# Required
#
address = ":8080"

################################################################
# Dashboard
################################################################

[api]
entryPoint = "traefik"

dashboard = true

debug = true

################################################################
# Docker configuration backend
################################################################

# Enable Docker configuration backend
[docker]
domain = "home.local"
watch = true
exposedbydefault = false

# Docker server endpoint. Can be a tcp or a unix socket endpoint.
#
# Required
# Default: "unix:///var/run/docker.sock"
#
# endpoint = "tcp://10.10.10.10:2375"

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on a container.
#
# Optional
# Default: ""
#
# domain = "docker.localhost"

# Expose containers by default in traefik
#
# Optional
# Default: true
#
# exposedbydefault = true

################################################################
# File configuration backend
################################################################

# Enable File configuration backend
[file]

# Backends
[backends]

[backends.sonar]
[backends.sonar.servers]
[backends.sonar.servers.server1]
url = "http://192.168.33.33:9000"

[backends.jenkins]
[backends.jenkins.servers]
[backends.jenkins.servers.server1]
url = "http://192.168.33.33:8090"

[backends.evolution]
[backends.evolution.servers]
[backends.evolution.servers.server1]
url = "http://192.168.33.33:8081"

[backends.impevolution]
[backends.impevolution.servers]
[backends.impevolution.servers.server1]
url = "http://192.168.33.33:8180"

# Frontends
[frontends]

[frontends.sonar]
#entryPoints = ["http", "https"]
entryPoints = ["http"]
backend = "sonar"
passHostHeader = true

[frontends.sonar.routes.default]
rule = "Host:ic-sonar.example.com"

[frontends.jenkins]
#entryPoints = ["http", "https"]
entryPoints = ["http"]
backend = "jenkins"
passHostHeader = true

[frontends.jenkins.routes.default]
rule = "Host:ic-jenkins.example.com"

[frontends.evolution]
#entryPoints = ["http", "https"]
entryPoints = ["http"]
backend = "evolution"
passHostHeader = true

[frontends.evolution.routes.default]
rule = "Host:evolution.example.com"

[frontends.impevolution]
#entryPoints = ["http", "https"]
entryPoints = ["http"]
backend = "impevolution"
passHostHeader = true

[frontends.impevolution.routes.default]
rule = "Host:impevolution.example.com"









share|improve this question



























    0















    I'm trying to set up a Traefik to redirect Hostnames to ports on a server in my company network with several applications.



    When I try to access the reverse proxy on port 80 with the host name "evolution" (DNS redirects evolution to 192.168.XX.XX), I can't reach Traefik (nothing on logs).



    If I try the same thing directly on server hosting Traefik, I can reach Traefik (logs show my connection and redirection).



    Thanks for you help, find more details below.



    Examples with curl :



    From my machine away on the server :



    curl -v evolution.example.com
    * Rebuilt URL to: evolution.example.com/
    * timeout on name lookup is not supported
    * Trying 192.168.33.33...
    * connect to 192.168.33.33 port 80 failed: Timed out
    * Failed to connect to evolution.example.com port 80: Timed out
    * Closing connection 0
    curl: (7) Failed to connect to evolution.example.com port 80: Timed out


    From the server :



    curl -v evolution.example.com
    * Rebuilt URL to: evolution.example.com/
    * Trying 127.0.0.1...
    * TCP_NODELAY set
    * Connected to evolution.example.com (127.0.0.1) port 80 (#0)
    > GET / HTTP/1.1
    > Host: evolution.example.com
    > User-Agent: curl/7.52.1
    > Accept: */*
    >
    < HTTP/1.1 302 Found
    < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
    < Content-Length: 0
    < Date: Mon, 19 Nov 2018 15:44:40 GMT
    < Expires: 0
    < Location: http://evolution.example.com /signin;jsessionid=BB9A3713AD88C77324B318C142A44B6A?error=403
    < Pragma: no-cache
    < Server: Apache-Coyote/1.1
    < Set-Cookie: JSESSIONID=BB9A3713AD88C77324B318C142A44B6A; Path=/; HttpOnly
    < X-Content-Type-Options: nosniff
    < X-Frame-Options: DENY
    < X-Xss-Protection: 1; mode=block
    <
    * Curl_http_done: called premature == 0
    * Connection #0 to host evolution.example.com left intact


    Here is my docker-compose file



    version: '3'

    services:
    proxy:
    image: traefik:v1.7-alpine
    command: --web --docker --docker.domain=example.com --logLevel=DEBUG
    restart: unless-stopped
    networks:
    - web
    ports:
    - "80:80"
    - "8080:8080"
    - "443:443"
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /app/docker/volumes/traefik/traefik.toml:/etc/traefik/traefik.toml
    - /app/docker/volumes/traefik-certs:/app/traefik/certs

    networks:
    web:


    Here is the traefik.toml



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

    # Enable debug mode
    #
    # Optional
    # Default: false
    #
    debug = true

    # Log level
    #
    # Optional
    # Default: "ERROR"
    #
    # logLevel = "ERROR"

    # Entrypoints to be used by frontends that do not specify any entrypoint.
    # Each frontend can specify its own entrypoints.
    #
    # Optional
    # Default: ["http"]
    #
    #defaultEntryPoints = ["http", "https"]
    defaultEntryPoints = ["http"]

    # Entrypoints definition
    #
    # Optional
    # Default:
    [entryPoints]
    [entryPoints.http]
    address = ":80"
    #[entryPoints.http.redirect]
    #entryPoint = "https"
    #[entryPoints.https]
    # minVersion = "VersionTLS12"
    # address = ":443"
    # [entryPoints.https.tls]
    # [[entryPoints.https.tls.certificates]]
    # CertFile="/app/docker/volumes/traefik-certs/server.cert"
    # KeyFile="/app/docker/volumes/traefik-certs/server.key"

    # Traefik logs
    # Enabled by default and log to stdout
    #
    # Optional
    #
    # [traefikLog]

    # Sets the filepath for the traefik log. If not specified, stdout will be used.
    # Intermediate directories are created if necessary.
    #
    # Optional
    # Default: os.Stdout
    #
    filePath = "/app/docker/volumes/traefik/log/traefik.log"

    # Format is either "json" or "common".
    #
    # Optional
    # Default: "common"
    #
    # format = "common"

    # Enable access logs
    # By default it will write to stdout and produce logs in the textual
    # Common Log Format (CLF), extended with additional fields.
    #
    # Optional
    #
    # [accessLog]

    # Sets the file path for the access log. If not specified, stdout will be used.
    # Intermediate directories are created if necessary.
    #
    # Optional
    # Default: os.Stdout
    #
    # filePath = "/path/to/log/log.txt"

    # Format is either "json" or "common".
    #
    # Optional
    # Default: "common"
    #
    # format = "common"

    ################################################################
    # Web configuration backend
    ################################################################

    # Enable web configuration backend
    [web]

    # Web administration port
    #
    # Required
    #
    address = ":8080"

    ################################################################
    # Dashboard
    ################################################################

    [api]
    entryPoint = "traefik"

    dashboard = true

    debug = true

    ################################################################
    # Docker configuration backend
    ################################################################

    # Enable Docker configuration backend
    [docker]
    domain = "home.local"
    watch = true
    exposedbydefault = false

    # Docker server endpoint. Can be a tcp or a unix socket endpoint.
    #
    # Required
    # Default: "unix:///var/run/docker.sock"
    #
    # endpoint = "tcp://10.10.10.10:2375"

    # Default domain used.
    # Can be overridden by setting the "traefik.domain" label on a container.
    #
    # Optional
    # Default: ""
    #
    # domain = "docker.localhost"

    # Expose containers by default in traefik
    #
    # Optional
    # Default: true
    #
    # exposedbydefault = true

    ################################################################
    # File configuration backend
    ################################################################

    # Enable File configuration backend
    [file]

    # Backends
    [backends]

    [backends.sonar]
    [backends.sonar.servers]
    [backends.sonar.servers.server1]
    url = "http://192.168.33.33:9000"

    [backends.jenkins]
    [backends.jenkins.servers]
    [backends.jenkins.servers.server1]
    url = "http://192.168.33.33:8090"

    [backends.evolution]
    [backends.evolution.servers]
    [backends.evolution.servers.server1]
    url = "http://192.168.33.33:8081"

    [backends.impevolution]
    [backends.impevolution.servers]
    [backends.impevolution.servers.server1]
    url = "http://192.168.33.33:8180"

    # Frontends
    [frontends]

    [frontends.sonar]
    #entryPoints = ["http", "https"]
    entryPoints = ["http"]
    backend = "sonar"
    passHostHeader = true

    [frontends.sonar.routes.default]
    rule = "Host:ic-sonar.example.com"

    [frontends.jenkins]
    #entryPoints = ["http", "https"]
    entryPoints = ["http"]
    backend = "jenkins"
    passHostHeader = true

    [frontends.jenkins.routes.default]
    rule = "Host:ic-jenkins.example.com"

    [frontends.evolution]
    #entryPoints = ["http", "https"]
    entryPoints = ["http"]
    backend = "evolution"
    passHostHeader = true

    [frontends.evolution.routes.default]
    rule = "Host:evolution.example.com"

    [frontends.impevolution]
    #entryPoints = ["http", "https"]
    entryPoints = ["http"]
    backend = "impevolution"
    passHostHeader = true

    [frontends.impevolution.routes.default]
    rule = "Host:impevolution.example.com"









    share|improve this question

























      0












      0








      0








      I'm trying to set up a Traefik to redirect Hostnames to ports on a server in my company network with several applications.



      When I try to access the reverse proxy on port 80 with the host name "evolution" (DNS redirects evolution to 192.168.XX.XX), I can't reach Traefik (nothing on logs).



      If I try the same thing directly on server hosting Traefik, I can reach Traefik (logs show my connection and redirection).



      Thanks for you help, find more details below.



      Examples with curl :



      From my machine away on the server :



      curl -v evolution.example.com
      * Rebuilt URL to: evolution.example.com/
      * timeout on name lookup is not supported
      * Trying 192.168.33.33...
      * connect to 192.168.33.33 port 80 failed: Timed out
      * Failed to connect to evolution.example.com port 80: Timed out
      * Closing connection 0
      curl: (7) Failed to connect to evolution.example.com port 80: Timed out


      From the server :



      curl -v evolution.example.com
      * Rebuilt URL to: evolution.example.com/
      * Trying 127.0.0.1...
      * TCP_NODELAY set
      * Connected to evolution.example.com (127.0.0.1) port 80 (#0)
      > GET / HTTP/1.1
      > Host: evolution.example.com
      > User-Agent: curl/7.52.1
      > Accept: */*
      >
      < HTTP/1.1 302 Found
      < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
      < Content-Length: 0
      < Date: Mon, 19 Nov 2018 15:44:40 GMT
      < Expires: 0
      < Location: http://evolution.example.com /signin;jsessionid=BB9A3713AD88C77324B318C142A44B6A?error=403
      < Pragma: no-cache
      < Server: Apache-Coyote/1.1
      < Set-Cookie: JSESSIONID=BB9A3713AD88C77324B318C142A44B6A; Path=/; HttpOnly
      < X-Content-Type-Options: nosniff
      < X-Frame-Options: DENY
      < X-Xss-Protection: 1; mode=block
      <
      * Curl_http_done: called premature == 0
      * Connection #0 to host evolution.example.com left intact


      Here is my docker-compose file



      version: '3'

      services:
      proxy:
      image: traefik:v1.7-alpine
      command: --web --docker --docker.domain=example.com --logLevel=DEBUG
      restart: unless-stopped
      networks:
      - web
      ports:
      - "80:80"
      - "8080:8080"
      - "443:443"
      volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /app/docker/volumes/traefik/traefik.toml:/etc/traefik/traefik.toml
      - /app/docker/volumes/traefik-certs:/app/traefik/certs

      networks:
      web:


      Here is the traefik.toml



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

      # Enable debug mode
      #
      # Optional
      # Default: false
      #
      debug = true

      # Log level
      #
      # Optional
      # Default: "ERROR"
      #
      # logLevel = "ERROR"

      # Entrypoints to be used by frontends that do not specify any entrypoint.
      # Each frontend can specify its own entrypoints.
      #
      # Optional
      # Default: ["http"]
      #
      #defaultEntryPoints = ["http", "https"]
      defaultEntryPoints = ["http"]

      # Entrypoints definition
      #
      # Optional
      # Default:
      [entryPoints]
      [entryPoints.http]
      address = ":80"
      #[entryPoints.http.redirect]
      #entryPoint = "https"
      #[entryPoints.https]
      # minVersion = "VersionTLS12"
      # address = ":443"
      # [entryPoints.https.tls]
      # [[entryPoints.https.tls.certificates]]
      # CertFile="/app/docker/volumes/traefik-certs/server.cert"
      # KeyFile="/app/docker/volumes/traefik-certs/server.key"

      # Traefik logs
      # Enabled by default and log to stdout
      #
      # Optional
      #
      # [traefikLog]

      # Sets the filepath for the traefik log. If not specified, stdout will be used.
      # Intermediate directories are created if necessary.
      #
      # Optional
      # Default: os.Stdout
      #
      filePath = "/app/docker/volumes/traefik/log/traefik.log"

      # Format is either "json" or "common".
      #
      # Optional
      # Default: "common"
      #
      # format = "common"

      # Enable access logs
      # By default it will write to stdout and produce logs in the textual
      # Common Log Format (CLF), extended with additional fields.
      #
      # Optional
      #
      # [accessLog]

      # Sets the file path for the access log. If not specified, stdout will be used.
      # Intermediate directories are created if necessary.
      #
      # Optional
      # Default: os.Stdout
      #
      # filePath = "/path/to/log/log.txt"

      # Format is either "json" or "common".
      #
      # Optional
      # Default: "common"
      #
      # format = "common"

      ################################################################
      # Web configuration backend
      ################################################################

      # Enable web configuration backend
      [web]

      # Web administration port
      #
      # Required
      #
      address = ":8080"

      ################################################################
      # Dashboard
      ################################################################

      [api]
      entryPoint = "traefik"

      dashboard = true

      debug = true

      ################################################################
      # Docker configuration backend
      ################################################################

      # Enable Docker configuration backend
      [docker]
      domain = "home.local"
      watch = true
      exposedbydefault = false

      # Docker server endpoint. Can be a tcp or a unix socket endpoint.
      #
      # Required
      # Default: "unix:///var/run/docker.sock"
      #
      # endpoint = "tcp://10.10.10.10:2375"

      # Default domain used.
      # Can be overridden by setting the "traefik.domain" label on a container.
      #
      # Optional
      # Default: ""
      #
      # domain = "docker.localhost"

      # Expose containers by default in traefik
      #
      # Optional
      # Default: true
      #
      # exposedbydefault = true

      ################################################################
      # File configuration backend
      ################################################################

      # Enable File configuration backend
      [file]

      # Backends
      [backends]

      [backends.sonar]
      [backends.sonar.servers]
      [backends.sonar.servers.server1]
      url = "http://192.168.33.33:9000"

      [backends.jenkins]
      [backends.jenkins.servers]
      [backends.jenkins.servers.server1]
      url = "http://192.168.33.33:8090"

      [backends.evolution]
      [backends.evolution.servers]
      [backends.evolution.servers.server1]
      url = "http://192.168.33.33:8081"

      [backends.impevolution]
      [backends.impevolution.servers]
      [backends.impevolution.servers.server1]
      url = "http://192.168.33.33:8180"

      # Frontends
      [frontends]

      [frontends.sonar]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "sonar"
      passHostHeader = true

      [frontends.sonar.routes.default]
      rule = "Host:ic-sonar.example.com"

      [frontends.jenkins]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "jenkins"
      passHostHeader = true

      [frontends.jenkins.routes.default]
      rule = "Host:ic-jenkins.example.com"

      [frontends.evolution]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "evolution"
      passHostHeader = true

      [frontends.evolution.routes.default]
      rule = "Host:evolution.example.com"

      [frontends.impevolution]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "impevolution"
      passHostHeader = true

      [frontends.impevolution.routes.default]
      rule = "Host:impevolution.example.com"









      share|improve this question














      I'm trying to set up a Traefik to redirect Hostnames to ports on a server in my company network with several applications.



      When I try to access the reverse proxy on port 80 with the host name "evolution" (DNS redirects evolution to 192.168.XX.XX), I can't reach Traefik (nothing on logs).



      If I try the same thing directly on server hosting Traefik, I can reach Traefik (logs show my connection and redirection).



      Thanks for you help, find more details below.



      Examples with curl :



      From my machine away on the server :



      curl -v evolution.example.com
      * Rebuilt URL to: evolution.example.com/
      * timeout on name lookup is not supported
      * Trying 192.168.33.33...
      * connect to 192.168.33.33 port 80 failed: Timed out
      * Failed to connect to evolution.example.com port 80: Timed out
      * Closing connection 0
      curl: (7) Failed to connect to evolution.example.com port 80: Timed out


      From the server :



      curl -v evolution.example.com
      * Rebuilt URL to: evolution.example.com/
      * Trying 127.0.0.1...
      * TCP_NODELAY set
      * Connected to evolution.example.com (127.0.0.1) port 80 (#0)
      > GET / HTTP/1.1
      > Host: evolution.example.com
      > User-Agent: curl/7.52.1
      > Accept: */*
      >
      < HTTP/1.1 302 Found
      < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
      < Content-Length: 0
      < Date: Mon, 19 Nov 2018 15:44:40 GMT
      < Expires: 0
      < Location: http://evolution.example.com /signin;jsessionid=BB9A3713AD88C77324B318C142A44B6A?error=403
      < Pragma: no-cache
      < Server: Apache-Coyote/1.1
      < Set-Cookie: JSESSIONID=BB9A3713AD88C77324B318C142A44B6A; Path=/; HttpOnly
      < X-Content-Type-Options: nosniff
      < X-Frame-Options: DENY
      < X-Xss-Protection: 1; mode=block
      <
      * Curl_http_done: called premature == 0
      * Connection #0 to host evolution.example.com left intact


      Here is my docker-compose file



      version: '3'

      services:
      proxy:
      image: traefik:v1.7-alpine
      command: --web --docker --docker.domain=example.com --logLevel=DEBUG
      restart: unless-stopped
      networks:
      - web
      ports:
      - "80:80"
      - "8080:8080"
      - "443:443"
      volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /app/docker/volumes/traefik/traefik.toml:/etc/traefik/traefik.toml
      - /app/docker/volumes/traefik-certs:/app/traefik/certs

      networks:
      web:


      Here is the traefik.toml



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

      # Enable debug mode
      #
      # Optional
      # Default: false
      #
      debug = true

      # Log level
      #
      # Optional
      # Default: "ERROR"
      #
      # logLevel = "ERROR"

      # Entrypoints to be used by frontends that do not specify any entrypoint.
      # Each frontend can specify its own entrypoints.
      #
      # Optional
      # Default: ["http"]
      #
      #defaultEntryPoints = ["http", "https"]
      defaultEntryPoints = ["http"]

      # Entrypoints definition
      #
      # Optional
      # Default:
      [entryPoints]
      [entryPoints.http]
      address = ":80"
      #[entryPoints.http.redirect]
      #entryPoint = "https"
      #[entryPoints.https]
      # minVersion = "VersionTLS12"
      # address = ":443"
      # [entryPoints.https.tls]
      # [[entryPoints.https.tls.certificates]]
      # CertFile="/app/docker/volumes/traefik-certs/server.cert"
      # KeyFile="/app/docker/volumes/traefik-certs/server.key"

      # Traefik logs
      # Enabled by default and log to stdout
      #
      # Optional
      #
      # [traefikLog]

      # Sets the filepath for the traefik log. If not specified, stdout will be used.
      # Intermediate directories are created if necessary.
      #
      # Optional
      # Default: os.Stdout
      #
      filePath = "/app/docker/volumes/traefik/log/traefik.log"

      # Format is either "json" or "common".
      #
      # Optional
      # Default: "common"
      #
      # format = "common"

      # Enable access logs
      # By default it will write to stdout and produce logs in the textual
      # Common Log Format (CLF), extended with additional fields.
      #
      # Optional
      #
      # [accessLog]

      # Sets the file path for the access log. If not specified, stdout will be used.
      # Intermediate directories are created if necessary.
      #
      # Optional
      # Default: os.Stdout
      #
      # filePath = "/path/to/log/log.txt"

      # Format is either "json" or "common".
      #
      # Optional
      # Default: "common"
      #
      # format = "common"

      ################################################################
      # Web configuration backend
      ################################################################

      # Enable web configuration backend
      [web]

      # Web administration port
      #
      # Required
      #
      address = ":8080"

      ################################################################
      # Dashboard
      ################################################################

      [api]
      entryPoint = "traefik"

      dashboard = true

      debug = true

      ################################################################
      # Docker configuration backend
      ################################################################

      # Enable Docker configuration backend
      [docker]
      domain = "home.local"
      watch = true
      exposedbydefault = false

      # Docker server endpoint. Can be a tcp or a unix socket endpoint.
      #
      # Required
      # Default: "unix:///var/run/docker.sock"
      #
      # endpoint = "tcp://10.10.10.10:2375"

      # Default domain used.
      # Can be overridden by setting the "traefik.domain" label on a container.
      #
      # Optional
      # Default: ""
      #
      # domain = "docker.localhost"

      # Expose containers by default in traefik
      #
      # Optional
      # Default: true
      #
      # exposedbydefault = true

      ################################################################
      # File configuration backend
      ################################################################

      # Enable File configuration backend
      [file]

      # Backends
      [backends]

      [backends.sonar]
      [backends.sonar.servers]
      [backends.sonar.servers.server1]
      url = "http://192.168.33.33:9000"

      [backends.jenkins]
      [backends.jenkins.servers]
      [backends.jenkins.servers.server1]
      url = "http://192.168.33.33:8090"

      [backends.evolution]
      [backends.evolution.servers]
      [backends.evolution.servers.server1]
      url = "http://192.168.33.33:8081"

      [backends.impevolution]
      [backends.impevolution.servers]
      [backends.impevolution.servers.server1]
      url = "http://192.168.33.33:8180"

      # Frontends
      [frontends]

      [frontends.sonar]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "sonar"
      passHostHeader = true

      [frontends.sonar.routes.default]
      rule = "Host:ic-sonar.example.com"

      [frontends.jenkins]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "jenkins"
      passHostHeader = true

      [frontends.jenkins.routes.default]
      rule = "Host:ic-jenkins.example.com"

      [frontends.evolution]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "evolution"
      passHostHeader = true

      [frontends.evolution.routes.default]
      rule = "Host:evolution.example.com"

      [frontends.impevolution]
      #entryPoints = ["http", "https"]
      entryPoints = ["http"]
      backend = "impevolution"
      passHostHeader = true

      [frontends.impevolution.routes.default]
      rule = "Host:impevolution.example.com"






      traefik






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 19 '18 at 16:03









      NicoNico

      113




      113
























          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%2f53378495%2fcant-reach-traefik-from-network-on-port-80%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%2f53378495%2fcant-reach-traefik-from-network-on-port-80%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

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?