23 lines
525 B
YAML
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/"
|