Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Create a FastCGI proxy command #1244

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

Conversation

gplanchat
Copy link

@gplanchat gplanchat commented Aug 7, 2021

Issue Ref: None

Description:

As long as PHP-FPM integrates natively FastCGI, and the PHP runtime also requires the function-proxy for monitoring, Nginx is a bit overkill in the kubeless context.

Instead of having this execution flow:

Kubeless CLI ---[HTTP]---> Proxy ---[HTTP]---> Nginx ---[FastCGI]---> PHP-FPM (function)

With this tool, we are able to remove the Nginx stage:

Kubeless CLI ---[HTTP]---> Proxy ---[FastCGI]---> PHP-FPM (function)

Note: This is my first PR in Go, I'd be interested in a kind review

TODOs:

  • Ready to review
  • Automated Tests
  • Docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant