mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-10 03:30:53 +08:00
feat: add root config for proxy website (#9881)
This commit is contained in:
parent
e76836f394
commit
4e6f872c02
1 changed files with 1 additions and 0 deletions
|
|
@ -216,6 +216,7 @@ func configDefaultNginx(website *model.Website, domains []model.WebsiteDomain, a
|
|||
case constant.Proxy:
|
||||
nginxInclude := fmt.Sprintf("/www/sites/%s/proxy/*.conf", website.Alias)
|
||||
server.UpdateDirective("include", []string{nginxInclude})
|
||||
server.UpdateRoot(rootIndex)
|
||||
case constant.Runtime:
|
||||
switch runtime.Type {
|
||||
case constant.RuntimePHP:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue