当前位置: 首页 > nginx
  • eventfd() failed when start nginx

    yum 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 ...

    阅读全文
    作者:u2 | 分类:nginx, OpenSource | 标签:
    eventfd() failed when start nginx已关闭评论
  • nginx dynamic url rewrite — II

    nginx rewirte II, nginx if has no AND OR and nest,so we only can use regx to do it: ———————————- BEGIN—————————————– location /music/search.html ...

    阅读全文
    作者:u2 | 分类:nginx, OpenSource | 标签:
    nginx dynamic url rewrite — II已关闭评论
  • nginx dynamic url rewrite

    I 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 ...

    阅读全文
    作者:u2 | 分类:nginx | 标签:
  • request.getScheme cann’t get https in nginx proxy with apache

    程序中为了不写死url,使用了动态获得的方式:basePath = request.getScheme()+”://”+request.getServerName()+”:”+request.getServerPort()+path+”/”; 其中: request.getScheme() return http but not https.之前单独使用apache(https)+resin的方式正常,现在前面增加了一层ng ...

    阅读全文
    作者:u2 | 分类:nginx | 标签:
    request.getScheme cann’t get https in nginx proxy with apache已关闭评论