V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
hard2reg
V2EX  ›  问与答

Caddy 反代博客结果访问 500 错误?

  •  
  •   hard2reg · 2017-10-25 20:08:29 +08:00 · 1574 次点击
    这是一个创建于 2375 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://2.xxx.com:443
    gzip
    tls [email protected]
    log /home/access.log
    proxy / https://xxx.com {
            header_upstream Host {host}
            header_upstream X-Real-IP {remote}
            header_upstream X-Forwarded-For {remote}
            except /robots.txt
    }
    

    配置如上

    尝试反代一下 V2EX 结果显示的是什么 Zenlogic?

    1 条回复    2017-10-25 20:24:01 +08:00
    hard2reg
        1
    hard2reg  
    OP
       2017-10-25 20:24:01 +08:00
    解决了,host 问题,尴尬。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2798 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:54 · PVG 11:54 · LAX 20:54 · JFK 23:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.