root /srv/pufferpanel/; index index.php; client_max_body_size 20m; client_body_timeout 120s; location __PATH__/ { try_files /public/router.php =404; fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_index router.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include /etc/nginx/fastcgi_params; } location __PATH__/app/assets { try_files /app/\$uri =404; }