Is there an easy way to tell the Anuko appliance to redirect all HTTP traffic requests to HTTPS?
To redirect HTTP requests to HTTPS add these lines at the end of /etc/httpd/conf/httpd.conf file in the appliance:
- Code: Select all
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/$
RewriteRule ^(.*) https://timetracker.example.com$1 [R=permanent]
Replace timetracker.example.com with your time tracker URL. Reload apache config with this command:
- Code: Select all
service httpd graceful
Hope the above will help someone.