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

[Bug] Regional restrictions are not working

Open
#9,427 3 comments 0 reactions 2 assignees View on GitHub

@zhengkunwang223 is already working on this.

Since Jul 14, 2025.

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

v2.0.3

Problem Description

某一个站 设置了只允许美国IP访问, 但是设置后未生效

我打开全局设置里 看到 提示i:带有【网站】标签的设置,需要在【网站设置】配置生效,全局设置仅为新建网站的默认设置 设置生效需要【全局设置】和【网站设置】的开关同时打开

是不是要全局也打开?

但是我的地区访问限制 只针对某一个站,全局打开了,是不是 也限制了其他网站了, ?

我不理解 为什么必须要开全局,才能设置单个站点,, 全局内容为空又不能开启
必须设置一条规则,但是这个规则是我新网站需要的吗?

这个逻辑有点奇怪 ,

Steps to Reproduce

1

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.