Search code examples
sslssl-certificatejelasticjetty-9

SSL on Jelastic and Jetty 9


I created Jelastic environment with Jetty 9. Then I added SSL support - Jelastic created NGinx instance and my solution now available using https and provides certificate. Question is - how to deny access on old non secure way? I mean using ordinary http?


Solution

  • You just need to edit the nginx config. to redirect http requests to https.

    Example configs: