#--------------------------------------------------------------------
# Example Environment Configuration file
#
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------

#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------

#CI_ENVIRONMENT = development
CI_ENVIRONMENT = production

#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------

app.baseURL = 'https://5211R:81/'
app.forceGlobalSecureRequests = true

app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
app.sessionCookieName = 'bx_session'
app.sessionSavePath = '/usr/sausalito/sessions/'
app.sessionMatchIP = false
app.sessionTimeToUpdate = 300
app.sessionRegenerateDestroy = false

app.cookiePrefix = ''
app.cookieDomain = ''
app.cookiePath = '/'
app.cookieSecure = false
app.cookieHTTPOnly = false

app.CSPEnabled = false

#--------------------------------------------------------------------
# SECURITY
#--------------------------------------------------------------------

security.csrfProtection = 'cookie'
security.tokenRandomize = false
security.tokenName = 'BlueOnyx_CSRF_token'
security.headerName = 'X-CSRF-TOKEN'
security.cookieName = 'BlueOnyx_CSRF_cookie'
security.expires = 7200
security.regenerate = false
security.redirect = true
security.samesite = 'Lax'

#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------

#database.default.hostname = 127.0.0.1
#database.default.database = ci4
#database.default.username = root
#database.default.password = root
#database.default.DBDriver = MySQLi
#database.default.port = 3306

#database.tests.hostname = localhost
#database.tests.database = test
#database.tests.DBPrefix = 
#database.tests.username = root
#database.tests.password = root
#database.tests.DBDriver = MySQLi
#database.tests.port = 3306

#--------------------------------------------------------------------
# CONTENT SECURITY POLICY
#--------------------------------------------------------------------

# contentsecuritypolicy.reportOnly = false
# contentsecuritypolicy.defaultSrc = 'none'
# contentsecuritypolicy.scriptSrc = 'self'
# contentsecuritypolicy.styleSrc = 'self'
# contentsecuritypolicy.imageSrc = 'self'
# contentsecuritypolicy.base_uri = null
# contentsecuritypolicy.childSrc = null
# contentsecuritypolicy.connectSrc = 'self'
# contentsecuritypolicy.fontSrc = null
# contentsecuritypolicy.formAction = null
# contentsecuritypolicy.frameAncestors = null
# contentsecuritypolicy.mediaSrc = null
# contentsecuritypolicy.objectSrc = null
# contentsecuritypolicy.pluginTypes = null
# contentsecuritypolicy.reportURI = null
# contentsecuritypolicy.sandbox = false
# contentsecuritypolicy.upgradeInsecureRequests = false

#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------

encryption.key = 'b95397a593fed523c20caa10ca12018d'
encryption.driver = OpenSSL

#--------------------------------------------------------------------
# HONEYPOT
#--------------------------------------------------------------------

#honeypot.hidden = 'true'
#honeypot.label = 'Fill This Field'
#honeypot.name = 'honeypot'
#honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
#honeypot.container = '<div style="display:none">{template}</div>'

#--------------------------------------------------------------------
# LANGUAGE
#--------------------------------------------------------------------
app.defaultLocale = 'en'
app.supportedLocales = ['en']
app.negotiateLocale = true
app.appTimezone = 'America/Lima'

