mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-26 09:15:56 +03:00
[PR #154] [MERGED] 针对nginx+keeplived的vip映射管理方案 #3986
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#3986
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/154
Author: @quanbisen
Created: 8/18/2023
Status: ✅ Merged
Merged: 8/21/2023
Merged by: @0xJacky
Base:
dev← Head:dev📝 Commits (4)
4f28b14fixed environment indicator display overlay & edit not obtain newest data07bba2eMerge branch 'dev' of https://github.com/0xJacky/nginx-ui into devf954a21finished environment operation sync02acea9fix: environment indicator display overflow not ellipsis📊 Changes
23 files changed (+586 additions, -159 deletions)
View changed files
📝
frontend/src/api/domain.ts(+3 -2)📝
frontend/src/components/EnvIndicator/EnvIndicator.vue(+3 -1)📝
frontend/src/components/StdDataEntry/StdDataEntry.tsx(+9 -1)📝
frontend/src/components/StdDataEntry/index.tsx(+12 -2)📝
frontend/src/language/en/app.po(+32 -14)📝
frontend/src/language/es/app.po(+36 -14)📝
frontend/src/language/fr_FR/app.po(+37 -15)📝
frontend/src/language/messages.pot(+30 -14)📝
frontend/src/language/ru_RU/app.po(+35 -15)📝
frontend/src/language/translations.json(+1 -1)📝
frontend/src/language/zh_CN/app.po(+39 -14)📝
frontend/src/language/zh_TW/app.po(+41 -21)📝
frontend/src/views/domain/components/SiteDuplicate.vue(+8 -1)📝
frontend/src/views/environment/Environment.vue(+33 -2)📝
server/api/config.go(+10 -4)📝
server/api/domain.go(+25 -5)📝
server/api/environment.go(+32 -9)📝
server/api/ngx.go(+16 -4)📝
server/internal/nginx/nginx.go(+13 -8)📝
server/model/environment.go(+5 -3)...and 3 more files
📄 Description
目前我们公司内部使用遇到了vip的使用场景,要求多环境的nginx配置操作需要同步,我目前的方案是在环境的管理页面添加该环境是否需要同步的开关,并配置需要同步的操作API正则表达式。当开关开启且操作的接口完全匹配上,就会把该操作也作用到该环境上,代码用了一个middleware实现了,修改了部分逻辑。作者评估一下该方案如何,如果有bug等问题也可以联系我帮忙修复,希望该merge能被合并到下一版本中去。
详细变更内容如下:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.