Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Force SSL

Im in config/redirects.php and I want to use $config['ssl'].
$config['ssl'] = array('production' => array('/packages/:any', '/user/:any'));

Am I using that correctly? It doesn't seem to work


  • edited July 11

    Did you set up your environment's production to use the in the fuel/application/environments.php file?

  • $environments = array(
    'development' => array(''),
    'production' => array(''),

  • I can echo out the ENVIRONMENT constant in my footer but if I echo out my $config['ssl'] there's nothing.

    echo ENVIRONMENT; // production
    echo $config['ssl']; //

  • remove the forward slash at the front of the URLs:

    $config['ssl'] = array('production' => array('packages/:any', 'user/:any'));
Sign In or Register to comment.