Fix NGINX not routing to frontcontroller

Backported from laravel-shipper.