website-frontend | \ [ [ en . | Microservice library
kandi X-RAY | website-frontend Summary
kandi X-RAY | website-frontend Summary
\[[en.] source code: frontend microservice
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of website-frontend
website-frontend Key Features
website-frontend Examples and Code Snippets
Community Discussions
Trending Discussions on website-frontend
QUESTION
Is it possible to route ingress controller traffic to different services/deployments based upon the file type in the path? For example if the path was:
...ANSWER
Answered 2019-Jul-16 at 11:39Is it possible to route ingress controller traffic to different services/deployments based upon the file type in the path?
No in that way. You would need to route your request to NGINX
which will send request for *.php
to a PHP_FPM
. You can have that as separate Containers inside one Pod or as Services. Service example is nicely explained in How To Deploy a PHP Application with Kubernetes on Ubuntu 16.04
In this example you will have two containers NIGNX
and PHP_FPM
running on the Pod.
PHP-FPM will handle dynamic PHP processing, and the NGINX will act as a web server.
You will need to use custom nginx.conf
configuration and in my opinion the easiest way would be using ConfigMap.
Your ConfigMap might look like the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install website-frontend
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page