2

I am playing around with immutant and was wondering how to set two things:

  • to setup an alternative ssl port
  • to use port 80 instead of port 8080
zcaudate
  • 13,998
  • 7
  • 64
  • 124
  • 1
    I would strongly urge you to consider using a reverse proxy, e.g. apache, haproxy, nginx, or even a hardware load balancer to do the ssl decoding for you. It's a more conventional architecture. – jcrossley3 Apr 29 '13 at 19:41

1 Answers1

2

To change the http port, you have two options - you can edit $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml and change the <socket-binding name='http' ... element, or pass -Dhttp.port=80 to lein immutant run or standalone.sh, depending on how you are starting Immutant.

To alter the https port, your only option currently is to edit the <socket-binding name='https' ... entry in $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml.

Toby Crawley
  • 617
  • 3
  • 8