mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-26 16:56:22 +08:00
feat: Add restart runtime for config php (#10150)
This commit is contained in:
parent
6b62b84157
commit
ab0e0f3f43
2 changed files with 4 additions and 2 deletions
|
|
@ -994,6 +994,9 @@ func (r *RuntimeService) UpdateFPMConfig(req request.FPMConfig) error {
|
|||
if err := cfg.SaveTo(runtime.GetFPMPath()); err != nil {
|
||||
return err
|
||||
}
|
||||
if _, err := compose.Restart(runtime.GetComposePath()); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -181,8 +181,7 @@ func getCaDirURL(accountType, customCaURL string) string {
|
|||
var caDirURL string
|
||||
switch accountType {
|
||||
case "letsencrypt":
|
||||
//caDirURL = "https://acme-v02.api.letsencrypt.org/directory"
|
||||
caDirURL = "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
caDirURL = "https://acme-v02.api.letsencrypt.org/directory"
|
||||
case "zerossl":
|
||||
caDirURL = "https://acme.zerossl.com/v2/DV90"
|
||||
case "buypass":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue