[FEAT] tofa swag domain conf

Open Beginner friendly
#817 1 comment 0 reactions 0 assignees View on GitHub

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

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

enhancement no-issue-activity
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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.