I have some strange issue related to the redirect loop appearing.
also in this file 000-default.conf (folder site enabled) I have those lines:
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: **
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/
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.