server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.html index.htm index.php; error_page 404 = /404.html; location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi.conf; } }