摘要:
一台机器上跑多个站点,即多个域名 curl -xIP:port 域名 用来指定访问的域名在哪个IP的哪个端口上 Nginx默认虚拟主机 不管什么域名解析到该服务器,都会访问到默认虚拟主机 nginx.conf中第一个server { }为默认虚拟主机,或者配置文件目录中的第一个 或 listen 8 阅读全文
摘要:
错误信息:./configure: error: C compiler cc is not found解决方案:yum -y install gcc gcc-c++ autoconf automake make 错误信息:./configure: error: the HTTP rewrite mo 阅读全文
摘要:
Nginx模块化 Nginx基于模块化设计,每个模块是一个功能实现,分布式开发,团队协作 核心模块、标准HTTP模块、可选HTTP模块、邮件模块、第三方模块 编译后的源码目录objs/ngx_modules.c https://coding.net/u/aminglinux/p/nginx/git/ 阅读全文