Typecho 使用详解

时间:2022-04-29
本文章向大家介绍Typecho 使用详解,主要内容包括nginx 配置、相关链接、基本概念、基础应用、原理机制和需要注意的事项等,并结合实例形式分析了其使用技巧,希望通过本文能帮助到大家理解应用这部分内容。

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

nginx 配置

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;
    }
}

相关链接