[FEAT] tofa swag domain conf
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, nginx
- Domain
- devops, infrastructure
Research direction
The proposed tofa.subdomain.conf configuration is included in the issue body. Start by checking existing SWAG subdomain configuration files and the linked Tofa setup guide to confirm the expected conventions and upstream settings. Done means the configuration fits the repository conventions and allows Tofa to be reached through SWAG.
Written by the indexing model from the issue text.
Description
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;
}
}
- Dominant language
- No language data
- Stars
- 1.6k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
canary-dead
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
activescott/home-infra-k8s-flux#578 ·
Maintainers usually reply within 1 day
-
repo-harnesses: the entrypoint-guard check greps a message `#13692` reworded, so it fails on mainOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
daniel-ospina/tortoise#14947 ·
Maintainers usually reply within 1 day
-
area: infra tier: p3 type: chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flashinfer-ai/flashinfer#10251 ·
Maintainers usually reply within 1 day