函数学习 有些事,记下来是不错的选择...

Bludit的nginx配置

伪静态,nginx里添加如下配置即可,可避免安装后/admin 出现404的状况

    location / {
    try_files $uri $uri/ /index.php?$args;
    }

    location ^~ /bl-content/tmp/ { deny all; } 
    location ^~ /bl-content/pages/ { deny all; } 
    location ^~ /bl-content/databases/ { deny all; }