Skip to content

添加自建 Web 控制台的文档#217

Merged
KKRainbow merged 9 commits intoEasyTier:mainfrom
Tangent-90C:dev
Dec 7, 2025
Merged

添加自建 Web 控制台的文档#217
KKRainbow merged 9 commits intoEasyTier:mainfrom
Tangent-90C:dev

Conversation

@Tangent-90C
Copy link
Copy Markdown
Contributor

Added instructions for self-hosting EasyTier Web Console, including service architecture and common parameters.

Added instructions for self-hosting EasyTier Web Console, including service architecture and common parameters.
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 2, 2025

@Tangent-90C is attempting to deploy a commit to the EasyTier Team on Vercel.

A member of the Team first needs to authorize it.

Add warning about default admin account in web console
@KKRainbow
Copy link
Copy Markdown
Member

需要补充英文版本和目录

Added documentation for self-hosted web console setup and usage.
Copilot AI review requested due to automatic review settings December 4, 2025 08:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for self-hosting the EasyTier Web Console in both Chinese and English. The documentation explains the architecture (separated frontend/backend with 3 services), deployment options (easytier-web vs easytier-web-embed), configuration parameters, and connection instructions for nodes to access the self-hosted console.

Key Changes:

  • Documents the 3-service architecture: Web frontend (port 11211), Web API backend (port 11211), and configuration delivery service (port 22020/UDP)
  • Provides deployment example using easytier-web-embed with common parameter explanations
  • Explains connection method for easytier-core nodes to use self-hosted console
  • Notes existence of two default accounts (admin and user)

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.

File Description
guide/network/web-console.md Adds Chinese documentation for self-hosting web console, including architecture overview, deployment instructions, and connection guide
en/guide/network/web-console.md Adds English translation of self-hosting documentation with same content structure as Chinese version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread guide/network/web-console.md Outdated
Comment thread guide/network/web-console.md Outdated
Comment thread guide/network/web-console.md
Tangent-90C and others added 4 commits December 4, 2025 16:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Tangent-90C
Copy link
Copy Markdown
Contributor Author

需要补充英文版本和目录

这个目录怎么说?是把自建 Web 控制台移出使用 Web 控制台组网部分?

@dawn-lc
Copy link
Copy Markdown
Contributor

dawn-lc commented Dec 5, 2025

可以加上

使用nginx反向代理升级https并禁止注册

  server {
    server_name console.example.comt;
    listen 80;
    return 301 https://$http_host$request_uri$is_args$query_string;
  }
  server {
    server_name console.example.com;
    listen 443 ssl;
    ssl_certificate /path/fullchain.pem;
    ssl_certificate_key /path/privkey.pem;

    location / {
      proxy_pass http://127.0.0.1:11211;
      proxy_set_header HOST $host;
      proxy_set_header X-Forwarded-Proto $scheme;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
    location /api/v1/auth/register {
      default_type application/json;
      return 403 '{"error":"registration_disabled","message":"注册功能已禁用"}';
    }
  }

删除数据库里的默认用户的脚本还在写

@Tangent-90C
Copy link
Copy Markdown
Contributor Author

可以加上

使用nginx反向代理升级https并禁止注册

  server {
    server_name console.example.comt;
    listen 80;
    return 301 https://$http_host$request_uri$is_args$query_string;
  }
  server {
    server_name console.example.com;
    listen 443 ssl;
    ssl_certificate /path/fullchain.pem;
    ssl_certificate_key /path/privkey.pem;

    location / {
      proxy_pass http://127.0.0.1:11211;
      proxy_set_header HOST $host;
      proxy_set_header X-Forwarded-Proto $scheme;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
    location /api/v1/auth/register {
      default_type application/json;
      return 403 '{"error":"registration_disabled","message":"注册功能已禁用"}';
    }
  }

删除数据库里的默认用户的脚本还在写

好主意,不过easytier-web好像就没写销号功能

@KKRainbow KKRainbow merged commit 2dd190c into EasyTier:main Dec 7, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants