-
Nginx不支持https的正向代理
Nov022013
-
nginx lua as http client
Sep172013
-
nginx+lua module直接调用redis实现url跳转
May242013
-
eventfd() failed when start nginx
Jan072011yum install nginxservice nginx start error.log:2011/01/07 05:39:49 [emerg] 7180#0: eventfd() failed (38: Function not implemented)2011/01/07 05:39:49 [alert] 7179#0: worker process 7180 exited with fatal code 2 and can not be respawn2011/01/07 05:43:01 [emerg] 7296#0: eventfd() failed (38: Funct ...
阅读全文eventfd() failed when start nginx已关闭评论
-
nginx dynamic url rewrite — II
Nov252010nginx rewirte II, nginx if has no AND OR and nest,so we only can use regx to do it: ———————————- BEGIN—————————————– location /music/search.html ...
阅读全文nginx dynamic url rewrite — II已关闭评论
-
nginx dynamic url rewrite
Aug062010I have such a request, will rewrite url to google’s search site,type http://mysite/search/search.html?t=laday gaga –> http://www.google.com/search?q=lady%20gagaI donn’t want to use other tools(php/java etc.) except nginx.For a long time googleing, finally find how to setting ...
阅读全文
-
nginx代理模式下,伪造X-Forwarded-For头的测试
Mar182010测试环境: nginx+resinIP: 内网:172.16.100.10 客户端IP:123.123.123.123 测试页面: test.jsp<%out.println(“x-forwarded-for: ” + request.getHeader(“x-forwarded-for”));out.println(“remote hosts: ” + request.getRemoteAddr());%> nginx 配置一 ...
阅读全文
-
nginx authentication
Jan202010今天配置nginx的basic authentication折腾了好半天,开始error_log一直报错:no user/password was provided for basic authentication 我是按照nginx的wiki配置的:location / { auth_basic “Restricted”; au ...
阅读全文作者:u2 | 分类:OpenSource | 标签:nginxnginx authentication已关闭评论
-
nginx+Django+memchached环境搭建备忘
Aug142009系统环境Kernal:Linux 2.6.9-78nginx-0.7.61pcre-7.9Python version: 2.5.4Django-1.1-py2.5mysql-5.0.84flup-1.0.2-py2.5MySQL_python-1.2.3c1-py2.5-linux-i686python_memcached-1.44-py2.5setuptools-0.6c9-py2.5 1、nginx、python、mysql的安装可参考官方及网上的安装文档 2、安装django http://www.djangopr ...
阅读全文nginx+Django+memchached环境搭建备忘已关闭评论
-
nginx 的debug模式
Aug092009编译的时候添加: –with-debug nginx.conf中的配置: error_log logs/error.log debug; #master_process off;daemon off;daemon off; 说明:master_proces ...
阅读全文作者:u2 | 分类:OpenSource | 标签:nginxnginx 的debug模式已关闭评论