cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

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.

 

3 REPLIES 3

Julius_Loman
DynaMight Legend
DynaMight Legend

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


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

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


Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

This can be done by using a custom.settings file:

https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/confi...

 

Senior Product Manager,
Dynatrace Managed expert

Featured Posts