mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-15 13:00:25 +08:00
可以设置是否自动安装nftables
This commit is contained in:
@@ -60,9 +60,10 @@ func (this *CreateAction) RunPost(params struct {
|
||||
MatchDomainStrictly bool
|
||||
|
||||
// SSH相关
|
||||
GrantId int64
|
||||
InstallDir string
|
||||
SystemdServiceIsOn bool
|
||||
GrantId int64
|
||||
InstallDir string
|
||||
SystemdServiceIsOn bool
|
||||
AutoInstallNftables bool
|
||||
|
||||
// DNS相关
|
||||
DnsDomainId int64
|
||||
@@ -130,6 +131,7 @@ func (this *CreateAction) RunPost(params struct {
|
||||
HttpFirewallPolicyId: params.HttpFirewallPolicyId,
|
||||
SystemServicesJSON: systemServicesJSON,
|
||||
GlobalServerConfigJSON: globalServerConfigJSON,
|
||||
AutoInstallNftables: params.AutoInstallNftables,
|
||||
})
|
||||
if err != nil {
|
||||
this.ErrorPage(err)
|
||||
|
||||
Reference in New Issue
Block a user