To run different copies of Laravel with Kubernetes and each of these serve as a service for different purpose.
The routing of different services can be achieved by using path-based routing using Ingress.
#!/usr/bin/env sh | |
_() { | |
YEAR="1991" | |
echo "Github Username: " | |
read -r USERNAME | |
[ -z "$USERNAME" ] && exit 1 | |
[ ! -d $YEAR ] && mkdir $YEAR |
RemoteIPHeader X-Forwarded-For | |
RemoteIPTrustedProxy 10.0.0.0/8 | |
RemoteIPTrustedProxy 172.16.0.0/12 | |
RemoteIPTrustedProxy 192.168.0.0/16 | |
RemoteIPTrustedProxy 169.254.0.0/16 | |
RemoteIPTrustedProxy 127.0.0.0/8 | |
# CloudFront Global IPs | |
# https://blog.manabusakai.com/2016/11/nginx-realip-apache-remoteip/ | |
RemoteIPTrustedProxy 120.52.22.96/27 |
To run different copies of Laravel with Kubernetes and each of these serve as a service for different purpose.
The routing of different services can be achieved by using path-based routing using Ingress.