Skip to content

3.1.0

Compare
Choose a tag to compare
@samsonasik samsonasik released this 10 Sep 13:15
· 51 commits to master since this release
3.1.0
90a79e5

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.