{ "listeners": { "*:9000": { "pass": "routes", "forwarded": { "client_ip": "X-Forwarded-For", "recursive": false, "source": [ ] } } }, "routes": [ { "match": { "uri": [ "/index.php/", "~^/index\\.php/.*", "~\\.php$" ] }, "action": { "return": 404 } }, { "action": { "share": "/var/www/html/public$uri", "fallback": { "pass": "applications/laravel" } } } ], "applications": { "laravel": { "type": "php", "root": "/var/www/html/public", "working_directory": "/var/www/html", "user": "www-data", "group": "www-data", "script": "index.php", "processes": { "max": 10, "spare": 5, "idle_timeout": 20 }, "options": { "file": "/usr/local/etc/php/php.ini", "admin": { "upload_tmp_dir": "/tmp/php/upload", "sys_temp_dir": "/tmp/php/sys", "session.save_path": "/tmp/php/session", "open_basedir": "/var/www/html:/tmp/php:.", "memory_limit": "256M", "upload_max_filesize": "20M", "post_max_size": "20M", "expose_php": "0" }, "user": { "display_errors": "0" } } } } }