[FEAT] tofa swag domain conf
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 66/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, nginx
- 领域
- devops, infrastructure
调研方向
提议的配置 tofa.subdomain.conf 包含在 issue 正文中。首先检查现有的 SWAG 子域名配置文件和链接的 Tofa 设置指南,以确认预期的约定和上游设置。配置符合仓库约定,并且能够通过 SWAG 访问 Tofa,即为完成。
由索引模型根据 Issue 内容生成。
描述
Is this a new feature request?
- I have searched the existing issues
Wanted change
Sorry, no idea how to ask for this, other than here. Attached if the conf to allow Tofa via swag
Description
tofa.subdomain.conf
Benefits of this PR and context
Working template for tofa media server
How Has This Been Tested?
Written by tofa team and tested by me
Source / References
https://docs.tofa.tv/use-your-own-tunnel.html#swag
Reason for change
Allow Tofa via SWAG
Proposed code change
Version 2026/10/19
make sure that your tofa container is named tofa
make sure that your dns has a cname set for tofa
if tofa is running in bridge mode and the container is named "tofa", the below config should work as is
if not, replace the line "set $upstream_app tofa;" with "set $upstream_app ;"
or "set $upstream_app ;" for host mode, HOSTIP being the IP address of tofa
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name tofa.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
proxy_buffering off;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app tofa;
set $upstream_port 33333;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
- 主要语言
- 没有语言数据
- 星标
- 1.6k
- 派生
- 325
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
soroswap/token-list#125 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
nekko-labs/nekko-agent#2998 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
francescopace/espectre#222 ·
维护者通常 3 天内回复
-
good first issue ops security
难度 2/5 1-3 小时 新手友好度 78/100
Kyvera-Labs/verixa#565 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复