@Connex wrote:
Hello everyone!
I’m trying to configure so that the the url woulth automatically redirect to https.
I added this in etc/httpd/conf.d/freepbx.conf
<VirtualHost :80>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^/admin(.)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
It works but it only redirects the admin panel. It won’t redirect the ucp page.
Is there anything else that I need to add?
Posts: 2
Participants: 1