Skip to content

Docker Proxy Pac to serve Top Level Domains in local development e.g: http://my-page.local

License

Notifications You must be signed in to change notification settings

krolow/tld-proxy-pac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tld-proxy-pac

The idea is to provide an easy way to setup custom TLD (Top Level Domains) for local development.

Download

Releases

Or you can use the docker image: krolow/tld-proxy-pac:latest

Options

  • -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)

Example

Running

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

Enabling proxy

Ubuntu

System Settings > Network > Network Proxy > Automatic

OS X

Network Preferences > Advanced > Proxies > Automatic Proxy Configuration

Windows

Settings > Network and Internet > Proxy > Use setup script

License

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Author

Vinícius Krolow - krolow[at]gmail.com

About

Docker Proxy Pac to serve Top Level Domains in local development e.g: http://my-page.local

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages