Mejorando configuracion de stacks usando traefik
This commit is contained in:
12
stacks/traefik/dynamic/middlewares.yml
Normal file
12
stacks/traefik/dynamic/middlewares.yml
Normal 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
|
||||
Reference in New Issue
Block a user