8 Replies Latest reply on Nov 28, 2012 5:28 AM by Tomaz Cerar

    How to map http url to https

    mike just Master

      I am running JBoss 7 with https (444 port). Now I am having a requirement of auto forwarding http url to https. For example, auto forward url http://localhost:8080 to https://localhost:444. It seems this can be done in older version Jboss 4, by a setting in server.xml (redirectPort parameter).

       

      <Connector port="8080" address="${jboss.bind.address}"
               maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="444" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
               URIEncoding="UTF-8"/>
      
      

       

      Is there the same configuration to achieve this in JBoss 7?