2 Replies Latest reply on May 15, 2012 10:41 AM by Brian Stansberry

    https redirect-port calculated value instead of a fixed value?

    Frank Langelage Master

      For my web-application I use SSL for a secure connection.

      So I added the https connector to the web-subsystem.


      <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
      <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="9143"/>
      <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
      <ssl certificate-key-file="/home/jboss/security/server.keystore" key-alias="mbicert" password="xxx"/>


      and the socket-binding

      <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
      <socket-binding name="http" port="8080"/>
      <socket-binding name="https" port="8443"/>


      Because I use


      redirect-port is 9143 and not the default-port 8443.

      But when changing the port-offset I also have to modify the standalone-full.xml file.


      Is it possible to use something like "default-port+port-offset" as redirect-port?