Skip to content

Commit 1e564c6

Browse files
committed
config: update .env.example
1 parent 57dea1f commit 1e564c6

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

.env.example

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,9 @@ CI_ENVIRONMENT = development
2121
#--------------------------------------------------------------------
2222

2323
app.baseURL = 'http://localhost:8080'
24+
# If you have trouble with `.`, you could also use `_`.
25+
# app_baseURL = ''
2426
# app.forceGlobalSecureRequests = false
25-
26-
# app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
27-
# app.sessionCookieName = 'ci_session'
28-
# app.sessionExpiration = 7200
29-
# app.sessionSavePath = NULL
30-
# app.sessionMatchIP = false
31-
# app.sessionTimeToUpdate = 300
32-
# app.sessionRegenerateDestroy = false
33-
3427
# app.CSPEnabled = false
3528

3629
#--------------------------------------------------------------------
@@ -41,11 +34,12 @@ database.default.database = ../writable/database.db
4134
database.default.DBDriver = SQLite3
4235

4336
# database.tests.hostname = localhost
44-
# database.tests.database = ci4
37+
# database.tests.database = ci4_test
4538
# database.tests.username = root
4639
# database.tests.password = root
4740
# database.tests.DBDriver = MySQLi
4841
# database.tests.DBPrefix =
42+
# database.tests.port = 3306
4943

5044
#--------------------------------------------------------------------
5145
# CONTENT SECURITY POLICY
@@ -56,7 +50,7 @@ database.default.DBDriver = SQLite3
5650
# contentsecuritypolicy.scriptSrc = 'self'
5751
# contentsecuritypolicy.styleSrc = 'self'
5852
# contentsecuritypolicy.imageSrc = 'self'
59-
# contentsecuritypolicy.base_uri = null
53+
# contentsecuritypolicy.baseURI = null
6054
# contentsecuritypolicy.childSrc = null
6155
# contentsecuritypolicy.connectSrc = 'self'
6256
# contentsecuritypolicy.fontSrc = null
@@ -69,6 +63,9 @@ database.default.DBDriver = SQLite3
6963
# contentsecuritypolicy.reportURI = null
7064
# contentsecuritypolicy.sandbox = false
7165
# contentsecuritypolicy.upgradeInsecureRequests = false
66+
# contentsecuritypolicy.styleNonceTag = '{csp-style-nonce}'
67+
# contentsecuritypolicy.scriptNonceTag = '{csp-script-nonce}'
68+
# contentsecuritypolicy.autoNonce = true
7269

7370
#--------------------------------------------------------------------
7471
# COOKIE
@@ -106,16 +103,36 @@ database.default.DBDriver = SQLite3
106103
# SECURITY
107104
#--------------------------------------------------------------------
108105

106+
# security.csrfProtection = 'cookie'
107+
# security.tokenRandomize = false
109108
# security.tokenName = 'csrf_token_name'
110109
# security.headerName = 'X-CSRF-TOKEN'
111110
# security.cookieName = 'csrf_cookie_name'
112111
# security.expires = 7200
113112
# security.regenerate = true
114-
# security.redirect = true
113+
# security.redirect = false
115114
# security.samesite = 'Lax'
116115

116+
#--------------------------------------------------------------------
117+
# SESSION
118+
#--------------------------------------------------------------------
119+
120+
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
121+
# session.cookieName = 'ci_session'
122+
# session.expiration = 7200
123+
# session.savePath = null
124+
# session.matchIP = false
125+
# session.timeToUpdate = 300
126+
# session.regenerateDestroy = false
127+
117128
#--------------------------------------------------------------------
118129
# LOGGER
119130
#--------------------------------------------------------------------
120131

121132
# logger.threshold = 4
133+
134+
#--------------------------------------------------------------------
135+
# CURLRequest
136+
#--------------------------------------------------------------------
137+
138+
# curlrequest.shareOptions = true

0 commit comments

Comments
 (0)