cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automatically redirect HTTP to HTTPS in Dynatrace Cluster nodes

rene_abdon1
Inactive

Hi,

Is there an specific way to automatically redirect HTTP requests to my HTTPS in Dynatrace Managed cluster nodes?

I mean, many users forget to include https in the request and receive an error message that could easily be avoid if Dynatrace clusters made this automatically.

If I just add this code at nginx.conf file at all clusters nodes will resolve?

server {
listen 80 default_server;
server_name _;
return301 <a href="https://$host$request_uri;">https://$host$request_uri;
}

or will cause another bug in my environment.


2 REPLIES 2

Julius_Loman
Leader

Yes, this should work. However, this snippet will probably disappear after upgrade.


Yeah, you are rigth, maybe an script that check and update nginx.conf file can solve this, I will try and come back here to say if works.

Tks Julius