Running Moqui on Tomcat over SSL (setting http-port and htts-port) - return code 302

前端 未结 1 375
甜味超标
甜味超标 2021-01-27 09:02

I have a Tomcat server with SSL configured. I can access the Tomcat Web Application Manager, the connection is secured. Tomcat server is accessible on ports ports 80 and 443, an

相关标签:
1条回答
  • 2021-01-27 09:45

    For those searching for an answer - this one worked for me.

    <webapp-list>
        <!-- NOTE: when you set https-enabled="true" make sure to set the http-port and https-port attributes -->
        <webapp name="webroot" http-port="80" http-host="<server_address>"
                https-port="443" https-host="<server_address>" https-enabled="true"
                require-session-token="true">
            <root-screen host=".*" location="component://webroot/screen/webroot.xml"/>
        </webapp>
    </webapp-list>
    

    Hope it helps someone.

    0 讨论(0)
提交回复
热议问题