-
Notifications
You must be signed in to change notification settings - Fork 70
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
How can I use fastCGI? #126
Comments
anyone? |
Hi Wesley -- thanks for the question. Just a note that you asked at the beginning of a weekend, and it's just barely Monday morning, so please allow some time for the volunteer maintainers to see the question and provide an answer. I'm sure they'll see it, it's just that there's only a couple of them and they're both very busy. (I wish I knew anything about Kubernetes to help you, but I'll have to leave this to somebody with experience!) |
Hi, There is no support yet for fastcgi. It shouldn't be hard to add support as an annotation like I'll tag this issue as a feature request for anyone to open a PR (I may do it if I find the time) |
Is there a way to make it only for a selected domain? Also would be nice to add root and file_server directives support, since they are used very often with fastcgi. Is there any documentation on current caddy annotations? |
The annotation would be on a specific ingress, to have only a specific domain, you have to create a specific Ingress with only the domain and the annotation.
I'm not sure I understand exactly what you want. I'm not familiar with fastcgi/PHP, as far as I understand, adding the annotation on an ingress would change the |
Yes
Yes, thats the one
file_server directive Example:
|
I would love to see FastCGI support on caddy ingress ! |
Im trying to set up the dev environment so I can try to add fcgi support, but im running into this error and couldnt find a solution:
Anyone else ran into this? |
@wesleycremonini hey, sorry for the long reply time, are you still interested on develop this feature? 😃 Going back to your original questions:
As @Embraser01 say when you define an ingress you define a couple of information that specify when the ingress is "activated", by domain and by path.
NB: at the moment the caddy ingress controller do not support the About |
Im several hours into a problem with receiving 502 from a php-fpm container in kubernetes, using caddy as ingress. And realized I never configured caddy, I need fastcgi to support php-fpm. How can I do that?
ingress.yaml
Deployment and service:
How exactly can I use fastCGI with the main-api service? Should I provide my own caddyfile? How can I do that?
The text was updated successfully, but these errors were encountered: