Mine
public text v1 · immutable server {
listen 80;
server_name www.XXX
root /usr/local/www/nginx/XXX
location / {
index index.php index.html;
}
location /~me {
alias /home/me/public_html/;
}
location ~ \.php$ {
fastcgi_pass unix:/tmp/fpm.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}