1
0
Fork 0
myserver-configuration/roles/traefik/templates/config/dynamic_conf.yml

23 lines
525 B
YAML

http:
middlewares:
private-network:
ipWhiteList:
sourceRange:
- "{{ server.vpn.subnet }}"
- "{{ server.ip }}"
{% for ip in private_network.extra_ips_whitelist %}
- "{{ ip }}"
{% endfor %}
routers:
octoPrint-secure:
entryPoints:
- https
rule: Host(`octoprint.mrdev023.fr`)
tls:
certResolver: sslResolver
service: octoPrint
services:
octoPrint:
loadBalancer:
servers:
- url: "http://192.168.1.16:80/"