Moving the blog to my own server

Working on moving this blog to my own server. Finally I will have a blog with an URL that I can remember!

Nginx + php5-fpm (chroot) were certainly not easy to set-up, but hopefully the site will run well, even though the server hardware is quite light.

Just to add some content in this post, below is my nginx wordpress setup. Couldn't get permalinks to work with try_files, but here's a setup that works for me:

# wordpress
location /desaster/blog { 
    alias /web/wordpress1/site/wordpress;
    index index.php;

    if (!-e $request_filename) { # try_files does not want to work
        rewrite ^/desaster/blog/(.+)$ /desaster/blog/?$1 last;
    }

    location ~ /desaster/blog/(.*\.php)$ { 
        # remember to set cgi.fix_pathinfo = 0 
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/dev/shm/php-fpm_wordpress1.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$1;
        include fastcgi_params;
    }   
}

Comments !