Moving Typecho blog from DigitalOcean to Linode

Linode published $5 VPS

pricing-1G-2.png

Get $5 Linode

Linode 1G/20GB for $5/month

Solving 404 error of Nginx

location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to index.html
                #try_files $uri $uri/ =404;
                try_files $uri $uri/ @typecho;
        }

location @typecho {
                fastcgi_pass unix:/var/run/php-fpm.sock;
                fastcgi_param SCRIPT_FILENAME $document_root/index.php;
                include fastcgi_params;
        }