HookSafe
V2EX  ›  服务器

请问各位 Apache(httpd)怎么开启 Proxy Protocol 功能 网上都搜不到相关的介绍

  •  
  •   HookSafe · Jan 26, 2021 · 2413 views
    This topic created in 2113 days ago, the information mentioned may be changed or developed.

    现在就只找到 nginx 的 但是没验证能不能用,因为 Web 服务器定死了是 Apache 所以说没办法换。官网文档好像没搜到相关介绍,但是在网上又看到 Apache 又支持 Proxy Protocol 功能,无奈不会开启。

    请问各位同学有没有这相关的文档或者开启或使用方式

    2 replies  •  2021-01-26 19:28:17 +08:00
    fiveelementgid
    fiveelementgid
    Jan 26, 2021 via Android❤️2
    1
    Proxy Protocol v2 ?
    之前没有官方支持,只有非官方支持
    https://github.com/roadrunner2/mod-proxy-protocol
    现在已经 merge 到官方代码里面了
    参考这个
    https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html
    HookSafe
    HookSafe
    OP
    Jan 26, 2021
    2
    @fiveelementgid 万分感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1187 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:45 · PVG 01:45 · LAX 09:45 · JFK 12:45
    ♥ Do have faith in what you're doing.