-
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 配置一 ...
阅读全文
-
request.getScheme cann’t get https in nginx proxy with apache
Feb212010程序中为了不写死url,使用了动态获得的方式:basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”; 其中: request.getScheme() return http but not https.之前单独使用apache(https)+resin的方式正常,现在前面增加了一层ng ...
阅读全文作者:u2 | 分类:nginx | 标签:nginx apacherequest.getScheme cann’t get https in nginx proxy with apache已关闭评论