My deployment looks like this:
/->php-fpm (Laravel)
Client->Nginx(HTTPS)->Varnish->Nginx(HTTP)
\->static files
So I have an inner Nginx instance that deals with sending the request to php-fpm or serving the static files.
Can I eliminate this inner Nginx and if so how can I configure Varnish to send the request to php-fpm or directly serve the static files?