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
http://fatjacksports.com/user/

Comments

  • edited July 11

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

  • $environments = array(
    'development' => array('112e9bb6a9.nxcli.net'),
    'production' => array('fatjacksports.com'),
    );

  • 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.