$ 0 0 Define an extra server {} block, enable proxy protocol there, move proxy_pass to server block, call server block from map.