Nginx Server Block - Before Certbot with PHP

Example Nginx server block including PHP, before SSL setup with Certbot.

server {
listen 80;
listen [::]:80;
server_name example.com;
root /var/www/example.com;
index index.html index.htm index.php;

location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/example.com.sock;
}
}