2

What does the Apache "proxy:unix:..." handler do, and where is it documented? I see it used here and there, like:

SetHandler "proxy:unix:..." 

For example in this recent question, or in the SetHandler and mod_fcgi documentation.

I can guess that it might pipe to a Unix socket, but what about the syntax in the mod_fcgi example? Where's the documentation?

2 Answers 2

2

I finally found the answer in the docs for ProxyPass:

In 2.4.7 and later, support for using a Unix Domain Socket is available by using a target which prepends unix:/path/lis.sock|. For example, to proxy HTTP and target the UDS at /home/www.socket, you would use unix:/home/www.socket|http://localhost/whatever/.

0

This is the sethandler directive documentation:

This describes the use of Apache's handlers

1
  • Thanks. My question is specifically about the "proxy:unix:..." handler. I'll try to make that clearer. Commented Nov 6, 2020 at 21:26

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.