rendered paste body server {
server_name example.org www.example.org;
index index.php;
root /www/example.org/wordpress;
include includes/std.include;
location ^~ /pub {
root /www/example.org/;
autoindex on;
}
location / {
# This is cool because no php is touched for static content
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_pass php;
}
}