Configure Nginx with PHP-FPM
Настроить Nginx с PHP-FPM
配置 Nginx 和 PHP-FPM
Nginx mit PHP-FPM konfigurieren
Configurer Nginx avec PHP-FPM
Configurar Nginx con PHP-FPM
Configurar Nginx com PHP-FPM
PHP-FPMとNginxの設定
PHP-FPM과 함께 Nginx 구성
تهيئة Nginx مع 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