Update conf to use file provider instead http provider
This commit is contained in:
parent
0f82e179af
commit
6ff4c4050d
6 changed files with 12 additions and 17 deletions
19
roles/traefik/templates/config/dynamic_conf.yml
Normal file
19
roles/traefik/templates/config/dynamic_conf.yml
Normal 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/"
|
Loading…
Add table
Add a link
Reference in a new issue