2023-08-08 23:08:13 +02:00
|
|
|
http:
|
2023-09-24 12:56:32 +02:00
|
|
|
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/"
|