Update all confgs to use global middlewares

This commit is contained in:
Florian RICHER 2023-09-24 12:56:32 +02:00
parent a259572a20
commit 09825ca1d3
5 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,19 @@
http:
middlewares:
private-network:
ipWhiteList:
sourceRange:
- "{{ server.vpn.subnet }}"
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/"