upstream host-backend-app { server myTube-backend-app:9000; } server { listen 80 default_server; client_max_body_size 1000M; location / { fastcgi_pass host-backend-app; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME /var/www/html/public/index.php; } }