
Nginx
米斯特程序猿
爱生活,爱自己,爱家人,不抛弃,不放弃,敢冒险
展开
-
编译安装Nginx
安装pcre库,因为nginx依赖它,如何安装请百度。 编译安装Nginx ./configure--sbin-path=/usr/local/nginx/nginx--with-openssl=/usr/local/ssl/include [root@weinginx]#ls/usr/local/nginx/ client_body_tempfastcgi_templogsproxy_t转载 2016-02-17 10:25:10 · 215 阅读 · 0 评论 -
nginx内置变量
名称 版本 说明(变量列表来源于文件 ngx_http_variables ) $args 1.0.8 请求中的参数; $binary_remote_addr 1.0.8 远程地址的二进制表示 $body_bytes_sent 1.0.8 已发送的消息体字节数 $content_length转载 2016-02-17 10:25:16 · 370 阅读 · 0 评论 -
Nginx安装部署
nginx可以使用各平台的默认包来安装,本文是介绍使用源码编译安装,包括具体的编译参数信息。 正式开始前,编译环境gcc g++ 开发库之类的需要提前装好,这里默认你已经装好。 ububtu平台编译环境可以使用以下指令 apt-getinstallbuild-essential apt-getinstalllibtool转载 2016-02-17 10:24:42 · 251 阅读 · 0 评论 -
Centos 7 安装Nginx 后访问不到页面问题
最近在Centos 7 上通过yum 安装完nginx后发现始终访问不到,检查服务也是正常启动的,最后查到是因为80端口没有开发导致 在Centos 7上 开放端口命令如下: sudo firewall-cmd --zone=public --add-port=3000/tcp --permanent sudo firewall-cmd --reload 检查规则 firewall-c...原创 2018-08-31 11:11:52 · 5895 阅读 · 0 评论