I followed the solution mentioned here - community-faq/docs/kodekloud-engineer/level-1/kubernetes/14-resolve-volume-mounts.md at main · kodekloudhub/community-faq · GitHub even after that I’m facing the problem. 404 Not Found error
Did you update the nginx-config ConfigMap?
After updating the configMap, you need to update the volumeMounts.mountPath accordingly. And then copy the index.php into the nginx-container.
I followed the solution exactly but getting the below nginx screen instead php. Should I update the php container volume mount path to nginx one
What if you browse to the /index.php index of that URL? Given the the nginx configuration you’re using, the / index should give you nginx rather than get passed to PHP.




