qax-os/ElasticHD

怎么支持apache reverse proxy?

UKeyboard opened this issue · 0 comments

尝试将应用部署在内网然后通过apache reverse proxy 向外曝露。Reverse proxy配置如下:

    ProxyRequests Off
    # elastichd 
    ProxyPass /elastichd/ http://elastichd:9800/
    <Location /elastichd/>
        ProxyPassReverse /
        ProxyHTMLEnable On
        ProxyHTMLURLMap / /elastichd/
        #
        AddOutputFilter Sed css
        OutputSed "s/\/static\//\/elastichd\/static\//g"
    </Location>

访问 localhost/elastichd/ 显示空白页。

请问该如何调整?