ProxyPass /foo http://localhost:8080/bar ProxyPassReverse /foo http://localhost:8080/bar
Is localhost with respect to the client or the server?
Localhost is in respect of the server or rather the machine which is asking the question. When a system does a name service lookup for localhost it will (most likely) get 127.0.0.1 or ::1 back as the address. This is the address of the loopback interface on the local machine.