欢迎光临IT网Linux学习频道

当前位置: > Linux服务器 > nginx >
  • [nginx] Nginx:服务器端SSL配置 日期:2014-10-28 11:38:45 点击:174 好评:0

    nginx安装与配置参考:http://hanqunfeng.iteye.com/blog/697696 一、nginx配置 upstreamtomcats_ssl { server 192.168 . 33.10 : 8090 srun_id=tomcat01; server 192.168 . 33.11 : 8090 srun_id=tomcat02; jvm_route$cookie_JSESSIONID|sessionidreverse;...

  • [nginx] LNMP高并发时502错误解决方法 日期:2014-10-22 09:48:59 点击:179 好评:0

    问题:最近的抢购有点火,到点抢购的时候网站就会出现502错误 顶不住消费者的压力。 之前php-fpm配置: 单个php-fpm实例,使用socket方式,内存8G 静态方式,启动php-fpm进程数300,具体参数如下 listen=/tmp/php-cgi.sock #listen=127.0.0.1:9000 listen.bac...

  • [nginx] nginx 服务器的各种配制 日期:2014-10-21 09:30:39 点击:175 好评:0

    一,nginx开启gzip压缩 gzip on; //该指令用于开启或关闭gzip模块(on/off) gzip_min_length 1k; //设置允许压缩的页面最小字节数,页面字节数从header头得content-length中进行获...

  • [nginx] nginx下禁止某些ip访问web服务器的配置 日期:2014-10-21 09:28:20 点击:66 好评:0

    nginx的ngx_http_access_module 模块可以用来设置允许/禁止哪些ip或ip段访问,可以设置一个文件内容类似下面的: denyIP; deny subnet; allowIP; allow subnet; # block all ips deny all; # allow all ips allow all; 其中网段的写法是这样的:192.168.1.0/...

  • [nginx] nginx+spawn-fcig+fastcgi+c++ 日期:2014-10-18 10:41:48 点击:83 好评:0

    我使用nginx+fastcgi+c++,基于web http协议来进行客户端和服务器端的交互,我又两个cgi程序,分别为1.cgi和2.cgi,已经其中,我希望url路径中包含fcgi1.cgi,将请求交给1.cgi,对于2同理. 我的nginx配置 #nginx run on user group user zhou adm; # numbe...

  • [nginx] nginx 反代 host 备案 日期:2014-10-12 05:10:14 点击:184 好评:0

    公司网站没有在XX云上备案,只好找不用备案的主机做代理。 正常nginx代理配置写上 proxy_set_headerHost$http_host; 但还是提示要备案。 删除这句当然可以,但我也无法知道host了。 解决方法 nginx可以自定header参数 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1...

  • [nginx] Linux下配置nginx支持.cig 日期:2014-10-09 08:14:26 点击:185 好评:0

    说明: 操作系统:CentOS 6.x web环境:php+nginx+mysql nginx安装目录:/usr/local/nginx nginx配置文件:/usr/local/nginx/conf/nginx.conf nginx默认站点目录:/usr/local/nginx/html/ 需求:让nginx能够解析.cgi后缀的文件 具体操作: 一、安装perl-fcgi...

  • [nginx] nginx启动服务脚本 日期:2014-10-07 16:51:04 点击:109 好评:0

    #chkconfig: 345 60 60 #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # chkconfig: - 85 15 # description: Nginx is a high-performance web and proxy server. # It has a lot of features, but its not for e...

  • [nginx] 纯静态文件环境下的Nginx优化思路 日期:2014-10-05 23:19:55 点击:208 好评:0

    【51CTO独家特稿】Nginx以其消耗资源少,承受并发量大,配置文件简洁等特点,深受广大sa们的喜欢,但是网上传播的nginx 配置并没有对做过多的优化。那么接下来,我就从某大型媒体网站的实际运维nginx优化角度,来给大家讲解一下nginx主要优化的那些方面。 一...

  • [nginx] Nginx 平滑升级过程详解 日期:2014-10-05 09:25:02 点击:114 好评:0

    一,准备nginx安装包、编译安装文件。 首先,nginx的官网下载nginx源码。 复制代码 代码示例: cd /opt/download/ wget -c http://nginx.org/download/nginx-1.0.0.tar.gz tar xvzf nginx-1.0.0.tar.gz cd nginx-1.0.0 接着,查看编译参数 复制代码 代码示例:...

  • 首页
  • 上一页
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 下一页
  • 末页
  • 2012009
栏目列表
推荐内容