mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: dir name of wildcard cert changed in linux #591
This commit is contained in:
parent
b5ca983977
commit
ea46c806cf
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,8 @@ func (c *ConfigPayload) mkCertificateDir() (err error) {
|
|||
if err == nil {
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
||||
if _, err = os.Stat(c.CertificateDir); os.IsNotExist(err) {
|
||||
|
@ -65,6 +67,8 @@ func (c *ConfigPayload) mkCertificateDir() (err error) {
|
|||
if err == nil {
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
|
||||
// For windows, replace * with # (issue #403)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue