init
This commit is contained in:
6
traefik-repo/traefik/data/custom/middlewares.yml
Normal file
6
traefik-repo/traefik/data/custom/middlewares.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
http:
|
||||
middlewares:
|
||||
redirect-to-https:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
permanent: true
|
15
traefik-repo/traefik/data/custom/pve.domainru.yml.example
Normal file
15
traefik-repo/traefik/data/custom/pve.domainru.yml.example
Normal file
@@ -0,0 +1,15 @@
|
||||
tcp:
|
||||
routers:
|
||||
pve:
|
||||
entryPoints:
|
||||
- https
|
||||
rule: "HostSNI(`pve.domain.ru`)"
|
||||
service: pve-service
|
||||
tls:
|
||||
certResolver: letsEncrypt
|
||||
passthrough: true
|
||||
services:
|
||||
pve-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- address: 192.168.1.2:8006
|
32
traefik-repo/traefik/data/custom/rke.domain.ru.yml.example
Normal file
32
traefik-repo/traefik/data/custom/rke.domain.ru.yml.example
Normal file
@@ -0,0 +1,32 @@
|
||||
http:
|
||||
routers:
|
||||
rke:
|
||||
entryPoints:
|
||||
- https
|
||||
rule: Host(`rke.domain.ru`)
|
||||
service: rke-service
|
||||
tls:
|
||||
certResolver: letsEncrypt
|
||||
services:
|
||||
rke-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://192.168.9.200
|
||||
passHostHeader: true
|
||||
|
||||
tcp:
|
||||
routers:
|
||||
rke-api:
|
||||
entryPoints:
|
||||
- k8s-api
|
||||
rule: "HostSNI(`*`)"
|
||||
service: rke-api-service
|
||||
tls:
|
||||
passthrough: true
|
||||
services:
|
||||
rke-api-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- address: 192.168.9.201:6443
|
||||
- address: 192.168.9.202:6443
|
||||
- address: 192.168.9.203:6443
|
@@ -0,0 +1,20 @@
|
||||
http:
|
||||
routers:
|
||||
s3-minio:
|
||||
entryPoints:
|
||||
- https
|
||||
rule: Host(`s3.domain.ru`)
|
||||
service: s3-minio-service
|
||||
tls:
|
||||
certResolver: letsEncrypt
|
||||
services:
|
||||
s3-minio-service:
|
||||
loadBalancer:
|
||||
healthCheck:
|
||||
path: /health/live
|
||||
scheme: http
|
||||
servers:
|
||||
- url: http://192.168.1.3:9000
|
||||
- url: http://192.168.1.4:9000
|
||||
- url: http://192.168.1.5:9000
|
||||
- url: http://192.168.1.6:9000
|
Reference in New Issue
Block a user