This cartridge serves static content using nginx web server, passing requests to .php files down to php-fpm.
Place your static files inside www/static dir, commit and push. Place your php files inside php/ dir, commit and push.
$ rhc app create phpfpm https://reflector-getupcloud.getup.io/reflect?github=getupcloud/openshift-nginx-php-fpm
$ cd phpfpm
$ echo '<?php phpinfo(); ?>' > php/info.php
$ echo 'Hello World' >> www/static/hello.html
$ git add .
$ git commit -m 'Testing'
$ git push
Place your nginx .conf files inside config/nginx.d/. It will be include()ed from "http" scope. Place your php-fpm .conf files inside config/php-fpm.d/. It will be include()ed from main php-fpm.conf file.