tld-restricted-proxy/README.md
Nathan Woodburn 37379e4255
All checks were successful
Build Docker / Build Docker (push) Successful in 29s
feat: Add more replace options
2024-03-01 17:26:32 +11:00

7 lines
398 B
Markdown

# 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