Go to file
Nathan Woodburn 39ca43bfb7
All checks were successful
Build Docker / Build Docker (push) Successful in 28s
fix: Small bug in replacing host
2024-03-01 17:31:19 +11:00
.gitea/workflows feat: Initial code drop 2024-03-01 16:58:56 +11:00
templates fix: Cleanup some testing code 2024-03-01 17:04:01 +11:00
.env.example fix: Small bug in replacing host 2024-03-01 17:31:19 +11:00
.gitignore feat: Initial code drop 2024-03-01 16:58:56 +11:00
404.html feat: Initial code drop 2024-03-01 16:58:56 +11:00
Dockerfile feat: Initial code drop 2024-03-01 16:58:56 +11:00
LICENSE.md Initial commit 2024-03-01 15:58:29 +11:00
main.py fix: Small bug in replacing host 2024-03-01 17:31:19 +11:00
README.md feat: Add more replace options 2024-03-01 17:26:32 +11:00
requirements.txt feat: Initial code drop 2024-03-01 16:58:56 +11:00
server.py feat: Initial code drop 2024-03-01 16:58:56 +11:00

TLD Restricted Proxy

Environment variables:

  • PROXY - The proxy to use for restricted TLDs. Example: http://localhost:3128
  • TLD - The TLD to restrict. Example: g
  • RESTRICTED - List of restricted paths. Example: ["path1", "path2"] will require the user to have a .g domain to access path1/*, path2/*
  • REPLACE - List of urls to replace with the host to fix redirects and links