Configurar Nginx com PHP-FPM
sudo tee /etc/nginx/sites-available/php-app << 'EOF'
server {
    listen 80;
    server_name app.local;
    root /var/www/php-app;
    index index.php;
    
    location ~ \.php$ {
        fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
        include fastcgi.conf;
    }
}
EOF