Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to redirect from the http to https protocol in the wildfly server.


    Swapnil Pawar
    • Features: URLs Version: v8.2 Product: JasperReports® Server

    Issue: The Jasperserver home page keeps refreshing after login, this issue is with the HTTP and domain in the URL.

    Workaround:

    For JRS 8.2.0 for workaround to redirect http-to-https ,

    in 

    /opt/wildflyVersion/standalone/configuration/standalone.xml 


    In <server name="default-server"> section within 


    <host name="default-host" alias="localhost"> please add 


    <filter-ref name="http-to-https" predicate="equals(%p,8080)"/>
     
    and after  <handlers>


    please add 


     <filters>
           <rewrite name="http-to-https" target="https://%v:8443%U" redirect="true"/>
      </filters>
     
    After adding these changes please restart the server.

    Please find the below attached modified standalone.xml file.
     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...