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伪静态

发表评论

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