lnmp设置emlog伪静态:

将下述代码添加到 /usr/local/nginx/conf/nginx.conf即可!

Source code    
{                listen       80;                server_name hapicture.com;                index index.html index.htm index.php;                include location.conf;                root  /home/www;                location /                {                        index index.php index.html;                        if (!-e $request_filename)                        {                                rewrite ^/(.+)$ /index.php last;                        }                }        }                include servers/*;}

 

vps上lnmp环境下nginx设置emlog伪静态

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据