*、Nginx实用之conf文件配置
#user nobody;#配置用户或者组,默认为nobody nobody。 #Nginx用户及组:用户 组。window下不指定 worker_processes 2;#允许生成的进程数,默认为1 #工作进程:数目。根据硬件调整,通常等于CPU数量或者2倍于CPU。 #error_log logs/error.log info;#制定日志路径,级别。 #pid logs/nginx.pid; #指定nginx进程运行文件存放地址 events { worker_connections 1024;#最大连接数,默认为512 } http { include mime.types; #文件扩展名与文件类型映射表 default_type application/octet-stream;#默认文件类型,默认为text/plain server_tokens off;#取消服务日志 log_format main '$remote_addr - $remote_user [$time_local] "$request" '#自定义格式 access_log logs/access.log main;#combined为日志格式的默认值 sendfile off;#允许sendfile方式传输文件,默认为off keepalive_timeout 65;#连接超时时间,默认为75s server { listen 80;#监听端口 server_name localhost;#监听地址 access_log logs/access.log main; location / { root html;#根目录 index index.html index.htm;#设置默认页 } } }
*、Nginx实用之系统引用配置
从非服务器端执行上传操作时使用的路径 file.url=http://域名+端口/caepm/dev 存储到服务器时的路径: file.root=Nginx所在根路径\\html\\caepm\\dev
--------------------------------------------------------------资源啊------------------------------------------------------------
*、配置资源信息1
http://blog.csdn.net/tjcyjd/article/details/50695922
*、配置资源信息及其原理
http://www.cnblogs.com/knowledgesea/p/5175711.html
*、nginx动静分离入门教程不错
http://blog.csdn.net/alli0968/article/details/47950481