Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]无法修改默认的WEBUI端口 #413

Closed
geekyouth opened this issue Mar 26, 2023 · 2 comments
Closed

[FEATURE]无法修改默认的WEBUI端口 #413

geekyouth opened this issue Mar 26, 2023 · 2 comments

Comments

@geekyouth
Copy link

geekyouth commented Mar 26, 2023

1Panel 版本

1panel version: v1.0.3 | appstore version: v0.0.89

请描述您的需求或者改进建议

无法修改默认的webui 端口号,因为安全原因,服务器只开放某些特定端口,该项目的端口号默认为 16143 无法在部署时提前修改,所以只能间接使用 nginx 反向代理

sudo yum install epel-release
sudo yum install nginx

vim "/etc/nginx/nginx.conf"

    server {
        listen       20000;
   
        include /etc/nginx/default.d/*.conf;

        location / {
            proxy_pass http://127.0.0.1:16143;
        }
    }
service nginx start

请描述你建议的实现方案

No response

附加信息

No response

@wanghe-fit2cloud
Copy link
Member

1、端口是在 1Panel 初始化的时候随机生成的(确保所有用户的初始化端口不一致)
2、后续我们会支持用户在初始化 1Panel 时自定义端口。

@wanghe-fit2cloud
Copy link
Member

v1.0.4 版本已支持用户在初始化 1Panel 时自定义端口。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants