Update Traefik configuration to include CSRF middleware and adjust routing rules

This commit is contained in:
2024-04-29 21:20:26 +08:00
parent f7ebf36df8
commit f751df4646
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -240,6 +240,8 @@ http:
rule: "Host(`mqttx.furyhawk.lol`)"
entryPoints:
- web-socket-secure
middlewares:
- csrf
service: emqx-web-socket-secure
tls:
certResolver: letsencrypt
+1 -1
View File
@@ -233,10 +233,10 @@ services:
- "80:80"
- "443:443"
- "7687:7687"
# - "1883:1883"
- "8083:8083"
- "8084:8084"
- "8883:8883"
# - "1883:1883"
# - 18083:18083
networks: