My Nginx reverse proxy works on the same machine as the webserver(apache) as follows
server { server_name site.net; location / { proxy_pass http://localhost:82; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } }
Now instead of using TCP connections to the backend apache, how can I tune it to use unix sockets?
Edit:
Can someone help with the full flow, instructing apache to listen on unix sockets too