Skip to content

fcgi: support for multi socket.#262

Open
p1ng0o wants to merge 1 commit intomonkey:masterfrom
p1ng0o:master
Open

fcgi: support for multi socket.#262
p1ng0o wants to merge 1 commit intomonkey:masterfrom
p1ng0o:master

Conversation

@p1ng0o
Copy link
Contributor

@p1ng0o p1ng0o commented Feb 7, 2017

Each config file can redirect request through an dedicated fcgi server.
It use the first param from the handler to match on ServerName.
If no fcgi config found, use first.

This is just a daft, I'm open to discuss about this implementation

Already tested on 1.6.9, but test needed on master.

Exemple:
server.site:

[HANDLERS]
....
MATCH 
/myfirstapi/* fastcgi foo
/mysecondapi/* fastcgi bar

/etc/monkey/plugins/fastcgi/fastcgi-first.conf

[FASTCGI_SERVER]
    ServerName foo

/etc/monkey/plugins/fastcgi/fastcgi-second.conf

[FASTCGI_SERVER]
    ServerName bar

Each config file can redirect request through an dedicated fcgi server.
It use the param from the handler to match server name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant