How to change the servername/redmine to servername in url
On our Remine system we are facing the following issue, if someone types http://redmine.xxxxxx.com the redirectin it's correct to https://redmine.xxxx.com/redmine but when someone types https://redmine.xxxxxxxx.com is not redirecting directly to https://redmine.xxxxxxxx.com/redmine.
Our current configuration using in virtualhost of apache server is:
but my question is the following, Can we apply the following configuration?
Redmine version 3.4.6.stable
Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
Rails version 4.2.8
Database adapter Mysql2
System Operator Debian9
Thanks for your help