1Panel-dev / 1Panel-dev/1Panel

[Bug] Manually created website directories may be deleted

Open
#13,140 2 comments 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Jun 29, 2026.

type: optimization
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

Contact Information

No response

1Panel Version

2.2.2

Problem Description

如果我在/opt/1panel/www/sites下新建一个www.abc.com的目录 然后我去创建网站 目录就选www.abc.com 然后nginx会报错 然后会把我本身的www.abc.com目录删掉

Steps to Reproduce
Image
The expected correct result

No response

Related log output

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.