fix: update dev_machine rule to include staging and prod hosts; add middleware to mail_machine

This commit is contained in:
2025-05-12 20:47:05 +08:00
parent 0df1163756
commit e3ac1fa602
+3 -1
View File
@@ -23,7 +23,7 @@ http:
dev_machine: dev_machine:
entryPoints: entryPoints:
- https - https
rule: Host(`dev.furyhawk.lol`) rule: Host(`dev.furyhawk.lol`) || Host(`staging.furyhawk.lol`) || Host(`prod.furyhawk.lol`)
tls: tls:
certResolver: le certResolver: le
service: dev_machine@file service: dev_machine@file
@@ -40,6 +40,8 @@ http:
entryPoints: entryPoints:
- https - https
rule: Host(`mail.furyhawk.lol`) rule: Host(`mail.furyhawk.lol`)
middlewares:
- admin-auth@swarm
tls: tls:
certResolver: le certResolver: le
service: mail_machine@file service: mail_machine@file