The idea is to provide an easy way to setup custom TLD (Top Level Domains) for local development.
Or you can use the docker image: krolow/tld-proxy-pac:latest
- -tld: Top level domain to forward (default .local)
- -forward-host: IP address that will receive the requests TLD (default outbound ip)
- -forward-port: Port that proxy should redirect requests for specific TLD (default 80)
- -listen-port: Proxy server port (default 8040)
tld-proxy-pac -tld=my-dev
tld-proxy-pac --forward-host=192.168.1.1 --forward-port=3000
tld-proxy-pac -tld=local --forward-port=3000 --listen-port=4040
System Settings > Network > Network Proxy > Automatic
Network Preferences > Advanced > Proxies > Automatic Proxy Configuration
Settings > Network and Internet > Proxy > Use setup script
Licensed under The MIT License Redistributions of files must retain the above copyright notice.
Vinícius Krolow - krolow[at]gmail.com