User Tools

Site Tools


apache_hints

Reverse Proxy

httpd.conf

LoadModule proxy_module      modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule headers_module    modules/mod_headers.so
LoadFile   /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule xml2enc_module modules/mod_xml2enc.so

vt100.ru.ssl.conf

ProxyRequests off
ProxyPass /opnsense/ http://192.168.142.229/
    ProxyHTMLURLMap http://192.168.142.229 /opnsense
    <Location /opnsense/>
        ProxyPassReverse /
        ProxyHTMLURLMap http://192.168.142.229 /opnsense
        ProxyHTMLEnable On
        ProxyHTMLURLMap / /opnsense/
        RequestHeader   unset   Accept-Encoding
    </Location>

http://www.apachetutor.org/admin/reverseproxies

apache_hints.txt · Last modified: 2020/08/20 20:22 by admin