On Sun, Dec 23, 2018 at 02:03:25AM +0100, Flipchan wrote:
> Hey,
>
> 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.
>
> Does anyone know how to get httpd to use unix sockets?
>
> The only solution i could image was to monkey hack a fastcgi socket to reverse proxy to the regular socket, this was without success.
>
Hi,
As a reverse-proxy you could use relayd(8) before incoming HTTP data.
--
Kind regards,
Hiltjo
No comments:
Post a Comment