How to disable (non-secure) HTTP port 8080 while using SSL ?

If you have enabled SSL for Marathon (port 8443 by default) and want to disable the access on non-secure HTTP port (8080 by default) you can do so by using:

--disable_http

Disabling HTTP has to be used with --ssl_keystore_path and --ssl_keystore_password. HTTPS port can be configured using --https_port.

 

References

  1. https://github.com/mesosphere/marathon/issues/1360
  2. https://github.com/mesosphere/chaos/issues/14

Note: Applies to Marathon 0.8.2 or later

Have more questions? Submit a request

Comments

Powered by Zendesk