Some fixes for maintenance mode.

This commit is contained in:
2026-05-29 23:17:02 +08:00
parent 7ae8d4330a
commit ce21869440
2 changed files with 27 additions and 8 deletions
+4 -3
View File
@@ -43,7 +43,8 @@ doUpdate: true # set it to true to enable updater
domains: [] # subdomains that you want auto-update (Example: { "name": "www.example.com", "proxied": true })
zone: null # zone of your domain name (such as example.com)
ddnsBroadcastCode: code-here # IMPORTANT: Replace it that only you know
maintenancePageURL: "" # Maintenance page url (set it to an existing URL if you would use maintenance mode)
maintenancePageDNS: "" # Maintenance page DNS name, such as maintenance.example.com
maintenancePageURL: "" # Deprecated fallback. Use maintenancePageDNS instead.
```
For dns item, use this template:
@@ -53,8 +54,8 @@ For dns item, use this template:
"name": "www.example.com", # DNS name
"proxied": false, # Enable proxy (Enable this if you want to hide your server's real IP)
"type": "A", # or "CNAME", "AAA", "TEXT", "MX"
"allowMaintenance": true # Redirect to maintenancePage if maintenance mode is enabled.
"allowMaintenance": true # Redirect to maintenancePageDNS if maintenance mode is enabled.
}
```
Remember to restart the tool after you save the config file.
Remember to restart the tool after you save the config file.