Hi guys,
i secured my OCS Inventory server it's now accessible via https://myserverip/ocsreports
i used the following code in my 000-default.conf file under sites-available folder
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
everything worked fine, until i noticed except the local import with an ocs file ( i use it as well) i'm sure of that cause as soon as i removed those lines it went back to normal.
So my question is: is there a cleaner way to redirect http traffic to https without messing up the local file import ?
Thanks for reading.