mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 00:36:08 +03:00
[PR #1416] Add support for custom Nginx maintenance templates (NGINX_UI_NGINX_MAINTENANCE_TEMPLATE / Settings > Nginx) #8419
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#8419
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/0xJacky/nginx-ui/pull/1416
Author: @enwikuna
Created: 10/30/2025
Status: 🔄 Open
Base:
dev← Head:dev📝 Commits (8)
d64ee85Add MaintenanceTemplate field to Nginx settings46b1fc6Add optional maintenance_template to NginxSettings8a9a226Implement custom maintenance template handling4f15a2bAdd maintenance template path input to Nginx settings322b94fUpdate maintenance template input in NginxSettings38d9a8eRefactor maintenance template file handling0b4659fAdd filepath import to maintenance.go098c219Update placeholder for maintenance template input📊 Changes
4 files changed (+26 additions, -1 deletions)
View changed files
📝
api/pages/maintenance.go(+16 -1)📝
app/src/api/settings.ts(+1 -0)📝
app/src/views/preference/tabs/NginxSettings.vue(+8 -0)📝
settings/nginx.go(+1 -0)📄 Description
NGINX_UI_NGINX_MAINTENANCE_TEMPLATE=/etc/nginx/maintenance/maintenance.html
volumes:
environment:
This commit adds configuration surface and documentation for using custom maintenance templates via environment variable or the UI.
Kindly ask you to test and merge our changes into production line.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.