Files
Backrest/traefik/dynamic/backrest-remote.yml

43 lines
1001 B
YAML

# Remote host yml file example
# Must be http here, not https
http:
# Define all routes in this section
routers:
# Name of the Route
backrest-jarvis:
# Url to proxy
rule: "Host(`backrest.jarvis.kelinreij.duckdns.org`)"
# Name of the service (must match the service name in the services section)
service: backrest-jarvis-service
# Use https
entrypoints:
- websecure
# Use letsencrypt certificate
tls:
certResolver: letsencrypt
# middlewares section should be omittted if empty
middlewares:
# Use Authelia for login
- authelia@docker
# Define all services in this section
services:
# Name of the service (must match service name defined above)
backrest-jarvis-service:
# Define the load balancer using the ip and external port of the server
loadBalancer:
servers:
- url: "http://192.168.4.11:9898"
passHostHeader: true