随笔分类 - nginx
摘要:在nginx的服务中配置: location / { index index.html index.htm index.php; #autoindex on; if (!-e $request_filename){ rewrite ^(.*)$ /index.php?q=$1 last; break
阅读全文
摘要:修改nginx配置参数后,使用nginx -t检查配置. 提示successfull后就可以使用 nginx -s reload来重新加载配置 我配置的过程中遇到这样的问题,就是绑定了主机名后,重新加载配置时会出现警告 nginx: [warn] conflicting server name "l
阅读全文