Mejorando configuracion de stacks usando traefik

This commit is contained in:
2025-11-08 01:11:42 -03:00
parent 115aac9d2a
commit cc93471cb0
22 changed files with 317 additions and 164 deletions

View File

@@ -0,0 +1,16 @@
http:
routers:
komodo:
rule: Host(`komodo.skrd.fun`)
entryPoints:
- websecure
service: komodo-svc
tls:
certResolver: cf
middlewares:
- local-only
services:
komodo-svc:
loadBalancer:
servers:
- url: "http://192.168.102.1:9120"

View File

@@ -0,0 +1,12 @@
http:
middlewares:
local-only:
ipWhiteList:
sourceRange:
- "192.168.0.0/16"
- "10.0.0.0/8"
- "127.0.0.1/32"
redirect-to-https:
redirectScheme:
scheme: https
permanent: true