Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

XMLRPC/scgi usage?

$
0
0

@dreamgate wrote:

Hi!

I have a unix socket created at /app.sock and it expects XMLRPC commands and haproxy has READ/WRITE access to the socket.

Normally, with something like lighttpd you can make a config point to an scgi server @ a socket file.
Or with NGINX you can do something like scgi_pass unix:/app.sock

I was testing something like this, but with no luck:

frontend in
    bind *:5000

    default_backend  rpc

backend rpc
    use-fcgi-app cgi
    server sock-file /app.sock proto fcgi

fcgi-app cgi # confused by this, why does it need docroots, etc? i just want to pass commands to xmlrpc
    log-stderr global
    option     keep-conn
    docroot    /var/www/my-app

Is there any way to do this with HAProxy?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>