Function Clarification Request

Discussion in 'ISPConfig 3 Priority Support' started by yupthatguy, Jul 1, 2021.

  1. yupthatguy

    yupthatguy Member HowtoForge Supporter

    Hey fellas,

    I originally posted this question last Saturday, but I think perhaps it just got buried in the thread. In any case, here's re-post:


    "Enable PROXY Protocol", under Domains -> Options as shown below
    Quick question, can someone explain the above function? (If documentation exists, happy to read it.) I haven't been able to find anything in the manual about its exact effects.

    Meaning, does this function: enable certain apache2 modules? modify the vhost in certain ways? etc?

    Thanks



    thx
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Here is what this option adds to the vhost:

    Code:
    <tmpl_if name='apache_version' op='>=' value='2.4.30' format='version'>
        <IfModule mod_remoteip.c>
            RemoteIPProxyProtocol On
        </IfModule>
        </tmpl_else>
        <IfModule mod_proxy_protocol.c>
            ProxyProtocol On
        </IfModule>
    </tmpl_if>
    See:

    https://httpd.apache.org/docs/current/mod/mod_remoteip.html
     
  3. yupthatguy

    yupthatguy Member HowtoForge Supporter

    Thanks!
     

Share This Page