Hi, we have a vendor product installed on a virtual machine running Centos 7, php and apache. Certain files on the page results in 404. Any help would be appreciated. I have setup a rules.toml file to forward to this virtual machine. Configuration below. I've changed our wildcard cert and domain to example.com
Any help would be appreciated
docker-compose.yml
version: "3"
services:
traefik:
image: traefik:alpine
labels:
- traefik.frontend.rule=Host:traefik.example.com
- traefik.port=8080
- traefik.enable=true
container_name: "traefik"
ports:
- 80:80
- 443:443
- 8080:8080
networks:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./cert:/cert
- ./rules.toml:/rules.toml
- ./traefik.toml:/traefik.toml:ro
networks:
web:
external: true
rules.toml
[frontends]
[frontends.demo-ent-05-example.com]
backend = "demo-ent-05-example.com"
[frontends.demo-ent-05-example.com.routes.route-ext]
rule = "Host:cf-hq-demo-ent-05.example.com"
[backends]
[backends.demo-ent-05-example.com]
[backends.demo-ent-05-example.com.servers.server-ext]
url = "http://10.132.1.13:80"
weight = 1
traefik.toml
defaultEntryPoints = ["http", "https"]
logLevel = "DEBUG"
[docker]
endpoint = "unix:///var/run/docker.sock"
exposedByDefault = false
network = "web"
watch = true
domain = "example.com"
# enabling api is not absolutely necessary, it is needed only if you need dashboard.
[api]
dashboard = true
entrypoint = "dashboard"
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "/cert/server.crt"
keyFile = "/cert/server.key"
[entryPoints.dashboard]
address = ":8080"
[accessLog]
filePath= "/access.log"
bufferingSize = 100
[file]
filename = "rules.toml"
watch = true