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

24 lines
525 B
YAML
Raw Normal View History

2023-08-08 23:08:13 +02:00
http:
middlewares:
private-network:
ipWhiteList:
sourceRange:
- "{{ server.vpn.subnet }}"
2023-11-11 09:45:57 +01:00
- "{{ server.ip }}"
{% for ip in private_network.extra_ips_whitelist %}
- "{{ ip }}"
{% endfor %}
2023-08-08 23:08:13 +02:00
routers:
octoPrint-secure:
entryPoints:
- https
rule: Host(`octoprint.mrdev023.fr`)
tls:
certResolver: sslResolver
service: octoPrint
services:
octoPrint:
loadBalancer:
servers:
2023-08-08 23:08:39 +02:00
- url: "http://192.168.1.16:80/"