Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello everyone.
I have some strange issue related to the redirect loop appearing.
For example, my website is https://www.test.org/ in the website general setting I have the same address:https://www.test.org/ in digitalocean domain setting I add that:
test.org is posting to IP wwww.test.org is posting to the same IP
also in this file 000-default.conf (folder site enabled) I have those lines:
RewriteEngine on RewriteCond %{SERVER_NAME} =www.test.org [OR] RewriteCond %{SERVER_NAME} =test.org RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
and in the .httaces file, I have nothing.
**But when I enter to the browser this one http://www.test.org/ I have those redirect chains: **
http://www.test.org/ 301 redirect to https://test.org/ 301 redirect to https://www.test.org/
Somebody could help how to avoid the second unnecessary chain element in order to get the redirect from http://www.test.org/ directly here: https://www.test.org/ and from http://test.org/ also directly here https://www.test.org/
Many thanks
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
44eb1d8c252f4d698b3c5f322277cd
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f