Typecho 使用详解

Typecho 是一款类似于 WordPress 的基于 PHP 的站点搭建工具。

nginx 配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server {
listen 80;
server_name yourdomain.com;
root /home/yourdomain/www/;
index index.html index.htm index.php;

if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}


location ~ .*\.php(\/.*)*$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}
}

相关链接

0%