摘要:
sudo vi /usr/local/nginx/conf/nginx.conf打开配置文件,找到所需要配置的server,添加伪伪静态 server { listen 80; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root /var/www/; index index.php index.html index.htm; rewrite ^([^\.]*)/blog-([0-9]+... 阅读全文