lnmp设置emlog伪静态:
将下述代码添加到 /usr/local/nginx/conf/nginx.conf即可!
{ 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伪静态