How to force HTTPS in Developer Portal (Drupal, on-premise)

chungss
Participant II

I have an on-premise hosted Developer Portal (Drupal) on nginx. Is there a way to force/redirect all HTTP requests to HTTPS?

A guide would be helpful.

0 4 344
4 REPLIES 4

Thanks for the link, Karl. We have followed the steps taken, but we're getting an ERR_CONNECTION_REFUSED error when using HTTP. It does not redirect to HTTPS.

Side question, what does this parameter do?

conf_devportal_http_https_redirect=

Yeah, that's expected behavior. In the doc it mentions that nginx will only listen to 1 port, so you cant redirect http to https. I don't have a better answer for you, sorry. Maybe a support ticket?

Thanks Karl. We will raise a support ticket for this.