8000 fcgi: support for multi socket. by p1ng0o · Pull Request #262 · monkey/monkey · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fcgi: support for multi socket. #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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
0