So I've configured the file config to force SSL on my sites. HTTPS works fine, but HTTP doesn't redirect even though 'sslRoutingEnabled' => true. It doesn't look like this is supposed to happen, right? Heres my config:
'sslRoutingRestrictedUrls' => ['/'],
// Default Week Start Day (0 = Sunday, 1 = Monday...)
'defaultWeekStartDay' => 1,
// Whether generated URLs should omit "index.php"
'omitScriptNameInUrls' => true,
// Control Panel trigger word
'cpTrigger' => 'admin',
// The secure key Craft will use for hashing and encrypting data
'securityKey' => getenv('SECURITY_KEY'),
// Whether to save the project config out to config/project.yaml
// (see https://docs.craftcms.com/v3/project-config.html)
'useProjectConfigFile' => false,
So I've configured the file config to force SSL on my sites. HTTPS works fine, but HTTP doesn't redirect even though 'sslRoutingEnabled' => true. It doesn't look like this is supposed to happen, right? Heres my config:
` return [ // Global settings '*' => [ 'primaryDomain' => null,
],
]; `