proxy

Add a shorter localhost name behind a proxy

Tag(s):

Assume that I want qn to redirect to my localhost(127.0.0.1).

  1. Add no_proxy="localhost,127.0.0.1,qn" in /etc/enviroment.
  2. Suffix qn in /etc/hosts(e.g. 127.0.0.1 localhost qn).
Subscribe to RSS - proxy