Hi,
Can someone please help me with Traefik configuration, I'm stuck when redirected to the given application.
What I want:
I need TRAEFIK to redirect from https://my.domain.com /wing
to an FTP server under e.g. "http://host.docker.internal:8220" which runs as a windows service
the service itself at "http://host.docker.internal:8220" runs fine
but when I want to access via HTTPS it says 404 page not found
here is the config=
docker-compose.yml
services:
traefik:
image: traefik:v2.9
container_name: traefik
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- "/run/desktop/mnt/host/j/Cloud-vlastni_file_server/Traefik-Reverse-Proxy/traefik.yaml:/etc/traefik/traefik.yaml"
- "/run/desktop/mnt/host/j/Cloud-vlastni_file_server/Traefik-Reverse-Proxy/data:/data"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
traefik.yaml
log:
level: debug
entryPoints:
websecure:
address: ":443"
providers:
docker:
exposedByDefault: false
certificatesResolvers:
myresolver:
acme:
email: "N/A"
storage: "/data/acme.json"
tlsChallenge: {}
http:
routers:
wing:
rule: "Host(`my.domain.com`) && PathPrefix(`/wing`)"
entryPoints:
- websecure
service: wingftp
tls:
certResolver: myresolver
middlewares:
- replace-wing-path
middlewares:
replace-wing-path:
replacePath:
path: "/"
services:
wingftp:
loadBalancer:
servers:
- url: "http://host.docker.internal:8220"
Thanks