This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

joseph.dickson
joseph.dickson

Hi everyone, I'm a new user to October CMS and just set up my first test site at www.frell.space and everything is technically working but I have a few minor issues I can't seem to resolve.

I'm hosting with digital ocean on an Ubuntu 18.04 LAMP droplet

  1. When I set debug to false in 'config/app.php' my site seems to be forcing https and that breaks access to the backend
  2. I suspect my https setup is incomplete

Thanks in advance

daftspunky
daftspunky

Forcing HTTPS is an opinion that you are running in production, where all sites should have HTTPS set up. However, you can override this opinion by changing the following configuration settings in config/cms.php:

    /*
    |--------------------------------------------------------------------------
    | Back-end force HTTPS security
    |--------------------------------------------------------------------------
    |
    | Use this setting to force a secure protocol when accessing any back-end
    | pages, including the authentication pages. If set to null, this setting
    | is enabled when debug mode (app.debug) is disabled.
    |
    */

    'backendForceSecure' => false,
joseph.dickson
joseph.dickson

That worked. Thanks daftspunk. I need to spend more time in the various files :)

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.