I got all the way through my slice setup using the excellent tutorials coupled with this blog post:
Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress
http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/
I got Wordpress MU to install successfully as well, but now when I try to login as admin, I get a loop that brings me back to the login box.
And I haven't even started trying to figure out the pretty urls and wildcard domain stuff. Can you help me?
server {
listen 80;
server_name MYSITE.com;
rewrite ^/(.*) http://www.MYSITE.com/$1 permanent;
}
server {
listen 80;
server_name http://www.MYSITE.com;
access_log /home/public_html/MYSITE.com/log/access.log;
error_log /home/public_html/MYSITE.com/log/error.log;
location / {
root /home/public_html/MYSITE.com/public/;
index index.php index.html;
# Basic version of Wordpress parameters, supporting nice permalinks.
# include /usr/local/nginx/conf/wordpress_params.regular;
# Advanced version of Wordpress parameters supporting nice permalinks and WP Super Cache plugin
# include /usr/local/nginx/conf/wordpress_params.super_cache;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include /usr/local/nginx/conf/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /home/public_html/MYSITE.com/public/$fastcgi_script_name;
}
}