01.OxiDNS WebUI

清夏晚风 Lv7

OxiDNS WebUI

OxiDNS WebUI 是独立构建的前端静态产物,不会编译进 Rust 后端二进制。部署时有两种推荐方式:

  • 后端同端口托管:由 OxiDNS 管理 HTTP 服务直接托管 WebUI 静态目录,适合裸机、NAS、小型服务器等不想额外配置 nginx 的环境。
  • nginx 独立部署:nginx 服务 WebUI 静态文件,并把 /api/* 反向代理到 OxiDNS 后端,适合已有域名、HTTPS、网关或多服务统一入口的环境。

无论哪种方式,WebUI 默认使用相对后端地址 /api。只要 WebUI 页面和 /api/* 位于同一个站点 origin 下,浏览器就不需要跨域配置。

手动构建 WebUI

拉取仓库源码:

1
git clone https://github.com/svenshi/oxidns.git

构建WebUI:

1
2
3
cd webui
npm install --frozen-lockfile
npm run build

输出文件在 out 目录下。

  • Title: 01.OxiDNS WebUI
  • Author: 清夏晚风
  • Created at : 2026-06-06 09:04:17
  • Updated at : 2026-07-19 01:57:11
  • Link: https://blog.yuil.cn/2026/06/06/网络公共服务/DNS/OXIDNS/01.OxiDNS WebUI/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
01.OxiDNS WebUI