3.1.0
Added exclude_specific_routes config option. You can now exclude specific routes like the following:
<?php
// config/autoload/force-https-module.local.php or config/autoload/mezzio-force-https-module.local.php
return [
'force-https-module' => [
// ...
'exclude_specific_routes' => [
// a lists of specific routes to not be https
// only works if previous config 'force_all_routes' => true
'non-https-route',
],
// ...
],
];
Complete example of configuration can be read in the README.md.