xiaolvmu's recent timeline updates
xiaolvmu

xiaolvmu

Geek--The Binary Lifestyle
🏢  Student
V2EX member #81411, joined on 2014-11-13 16:22:34 +08:00
50 S 11 B
  •   The specified image does not exist
    拥有一颗探索的心,努力学习各种知识。
    xiaolvmu's recent replies
    这似乎是一个bug,我在Ubuntu 15.04下,这个问题经常发生。
    Apr 23, 2015
    Replied to a topic by yghack NGINX Nginx 1.8.0 稳定版发布
    没法配合boringssl编译了……不知道为什么。改天写个patch再升级。目前依然是 1.7.12。
    我记得貌似有kernel 3.10 的字样,这是什么情况呢?OpenVZ明明是共享母机内核的……
    是 bandwagonhost 的 centos 7 吗?
    我也遇到这个了。
    昨天晚上 update ,centos 7.1.1,想都没想就更新了,更新之后就连不上了。
    我也没办法,只好把几个ssl证书取回来(控制面板有文件管理器/编辑器,但是没有下载功能)。。最后重装系统了~唉
    @futursolo 好吧.....原来是我理解错了呢。
    感谢你的提醒哦~
    已经设置成功了: https://mikhei.ecake.in/index.php/ru/
    打算系统地学习一下nginx的反代和 load balancing......
    感谢 @futursolo ~
    不过这样设置之后......网页成了空白。
    配置的目的是反代 mikhei777.org.ua (一个rom发布站点,可是除了美国,其他地方都访问不畅,可我的代理又是新加坡的.....所以想到反代这个站点) 到 mikhei.ecake.in

    当前的配置文件是这样的:

    #原网站是没有https的,这里使用了HSTS;但经过错误排查,使用 http 依然无效,网页呈现空白。
    server {
    listen 80;
    listen 443 ssl spdy;
    server_name mikhei.ecake.in;
    #ssl on;

    ssl_certificate /etc/pki/mk/mk.crt;
    ssl_certificate_key /etc/pki/mk/mk.key;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers CHACHA20:AES128:AES256:GCM:!DH:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS;
    add_header Strict-Transport-Security "max-age=31536000; preload";
    ssl_prefer_server_ciphers on;
    ssl_session_cache shared:SSL:10m;
    server_tokens off;
    add_header X-Frame-Options SAMEORIGIN;
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "1; mode=block";
    add_header Alternate-Protocol 443:npn-spdy/3.1;

    # Redirect All HTTP Traffic to SSL
    if ($scheme = http) {
    return 301 https://$server_name$request_uri;
    }

    # Reverse Proxy Start
    location / {
    proxy_pass http://82.117.232.5;
    proxy_redirect default;
    proxy_set_header Host $host;
    proxy_set_header User-Agent $http_user_agent;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Via-Proxy "true";
    }
    }

    问题应是出在 location 字段,正在错误排查当中。这个网页跳转好奇怪呀。
    Apr 3, 2015
    Replied to a topic by tuoxie007 程序员 刚花了一分钟面试完一个 iOS 工程师
    优越感真强。
    新动态:
    新版本1.7.11的 nginx,编译 boringssl 出错了......
    找了下,在nginx源码的 /src/event/openssl.c 的 1900 行附近有一个 SSL_R_BLOCK_CIPHER_PAD_IS_WRONG ,去掉就可以编译了。可是不知道这有什么影响。
    话说 libressl 发布 2.1.6 了,他们刷版本号好疯狂,刚编译完2.1.5。。
    终于放假了~
    话说,有的 gcc 不支持 sandybridge 这个 march,如果 sed 的时候选择 sandybridge 不起作用,就用
    march=native,需要 gcc 4.2 以上。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1323 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 18ms · UTC 17:14 · PVG 01:14 · LAX 10:14 · JFK 13:14
    ♥ Do have faith in what you're doing.