Add file provider to Traefik for host-based services
Enable dual provider support (Docker + File) to allow routing both containerized services and services running on the host machine. Add dynamic.yml with routes for nginx-based websites (agence66.fr, walter-coiffure.fr) pointing to host gateway IP. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
23
dynamic.yml
Normal file
23
dynamic.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
http:
|
||||
routers:
|
||||
walter-coiffure:
|
||||
rule: "Host(`walter-coiffure.fr`) || Host(`www.walter-coiffure.fr`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: nginx-host
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
agence66:
|
||||
rule: "Host(`agence66.fr`) || Host(`www.agence66.fr`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: nginx-host
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
services:
|
||||
nginx-host:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://172.19.0.1:8081"
|
||||
Reference in New Issue
Block a user