homepage/config/traefik/router.yaml

129 lines
2.9 KiB
YAML
Raw Normal View History

2022-12-26 04:36:19 +00:00
http:
routers:
to-traefik:
rule: Host(`traefik.godopu.net`)
service: traefik
entrypoints: http
middlewares: https-redirect
to-traefik-secure:
rule: Host(`traefik.godopu.net`)
service: traefik
entrypoints: https
tls:
certresolver: https-resolver
to-iot-ws:
rule: Host(`iot.knu.ac.kr`)
service: iot-ws
entrypoints: http
middlewares: https-redirect
to-iot-ws-secure:
rule: Host(`iot.knu.ac.kr`)
service: iot-ws
entrypoints: https
tls:
certresolver: https-resolver
to-protoecol-ws:
rule: Host(`protocol.knu.ac.kr`)
service: iot-ws
entrypoints: http
middlewares: https-redirect
to-protoecol-ws-secure:
rule: Host(`protocol.knu.ac.kr`)
service: iot-ws
entrypoints: https
tls:
certresolver: https-resolver
to-authelia:
rule: Host(`auth.godopu.net`)
service: authelia
entrypoints: http
middlewares: https-redirect
to-authelia-secure:
rule: Host(`auth.godopu.net`)
service: authelia
entrypoints: https
tls:
certresolver: https-resolver
2024-03-15 05:41:12 +00:00
to-famtech:
rule: Host(`famtech.godopu.com`)
service: famtech-app
entrypoints: http
middlewares: https-redirect
to-famtech-secure:
rule: Host(`famtech.godopu.com`)
service: famtech-app
entrypoints: https
tls:
certresolver: https-resolver
to-etri:
rule: Host(`etri.godopu.com`)
service: etri-app
entrypoints: http
middlewares: https-redirect
to-etri-secure:
rule: Host(`etri.godopu.com`)
service: etri-app
entrypoints: https
tls:
certresolver: https-resolver
to-mqtt:
rule: Host(`mqtt.godopu.com`)
service: mqtt-broker
entrypoints: http
middlewares: https-redirect
to-mqtt-secure:
rule: Host(`mqtt.godopu.com`)
service: mqtt-broker
entrypoints: https
tls:
certresolver: https-resolver
2022-12-26 04:36:19 +00:00
middlewares:
https-redirect:
redirectscheme:
scheme: https
permanent: true
services:
traefik:
loadBalancer:
servers:
- url: http://traefik:8080
iot-ws:
loadBalancer:
servers:
- url: http://iot-web-server:4000
authelia:
loadBalancer:
servers:
2024-03-15 05:41:12 +00:00
- url: http://authelia-app:9091
famtech-app:
loadBalancer:
servers:
- url: http://192.168.0.9:9880
etri-app:
loadBalancer:
servers:
- url: http://192.168.0.9:3000
mqtt-broker:
loadBalancer:
servers:
- url: http://192.168.0.9:9880
# tcp:
# routers:
# to-rdp:
# entryPoints:
# - "tcp"
# service: rdp-app
# services:
# rdp-app:
# loadBalancer:
# servers:
# - url: tcp://vpn.godopu.com:8080