Update Traefik configuration to remove commented out MQTT entry point and adjust routing rules

This commit is contained in:
2024-04-29 21:00:06 +08:00
parent 238479028a
commit f7ebf36df8
3 changed files with 10 additions and 10 deletions
+8 -8
View File
@@ -19,9 +19,9 @@ entryPoints:
scheme: https scheme: https
permanent: true permanent: true
mqtt: # mqtt:
# mqtt # # mqtt
address: ":1883" # address: ":1883"
web-secure: web-secure:
# https # https
@@ -220,11 +220,11 @@ http:
tls: tls:
certResolver: letsencrypt certResolver: letsencrypt
mqtt-socket-router: # mqtt-socket-router:
rule: "Host(`mqtt.furyhawk.lol`)" # rule: "Host(`mqtt.furyhawk.lol`)"
entryPoints: # entryPoints:
- mqtt # - mqtt
service: emqx-mqtt-socket # service: emqx-mqtt-socket
mqtt-ws-http-router: mqtt-ws-http-router:
rule: "Host(`mqttx.furyhawk.lol`)" rule: "Host(`mqttx.furyhawk.lol`)"
+1 -1
View File
@@ -233,7 +233,7 @@ services:
- "80:80" - "80:80"
- "443:443" - "443:443"
- "7687:7687" - "7687:7687"
- "1883:1883" # - "1883:1883"
- "8083:8083" - "8083:8083"
- "8084:8084" - "8084:8084"
- "8883:8883" - "8883:8883"