I am trying to enforce https on an existing magento website, so far so good, the website gets always correctly redirected to the https URL configured in the backend.
As of my understanding the correct way to redirect the old http urls is with a 301 permanent redirect. However I am not sure my configuration is correct since from the network developer tool I see this pattern 301 -> 302 -> 200 (as in the following image).
Is this correct or should I investigate further?
Information about the server: Magento 1.8.1; Ubuntu 16.04; Apache 2; Php 5;