i used reyks fcgi to http proxy to reverse proxy it :))
https://github.com/reyk/fcgihttp
On December 23, 2018 8:34:40 PM GMT+01:00, Stuart Henderson <stu@spacehopper.org> wrote:
>On 2018-12-23, Flipchan <flipchan@riseup.net> wrote:
>> I have a http server listening on a socket in
>/var/www/run/listen.sock , with permissions 0666 and www:www i can curl
>the socket and it works , but it does not work when i try to use it
>with httpd, maybe because httpd only support fastcgi sockets and not
>"raw" unix sockets.
>
>Exactly - httpd doesn't do any kind of HTTP proxying, only fastcgi.
>
>relayd doesn't support proxying to a unix socket either - you would
>either
>need to switch to HTTP-over-TCP, or FastCGI-over-socket, or use a
>different
>reverse proxy (nginx supports this).
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
No comments:
Post a Comment