Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phpipam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
phpipam
Commits
2fe6f9af
Unverified
Commit
2fe6f9af
authored
Apr 8, 2022
by
Gary Allan
Browse files
Options
Downloads
Patches
Plain Diff
Update default values in config.dist.php
parent
39b89062
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config.dist.php
+12
-11
12 additions, 11 deletions
config.dist.php
with
12 additions
and
11 deletions
config.dist.php
+
12
−
11
View file @
2fe6f9af
...
...
@@ -3,7 +3,7 @@
/**
* database connection details
******************************/
$db
[
'host'
]
=
'
localhost
'
;
$db
[
'host'
]
=
'
127.0.0.1
'
;
$db
[
'user'
]
=
'phpipam'
;
$db
[
'pass'
]
=
'phpipamadmin'
;
$db
[
'name'
]
=
'phpipam'
;
...
...
@@ -33,12 +33,13 @@ $db['webhost'] = '';
php 5.3.7 required
******************************/
$db
[
'ssl'
]
=
false
;
// true/false, enable or disable SSL as a whole
$db
[
'ssl_key'
]
=
'/path/to/cert.key'
;
// path to an SSL key file. Only makes sense combined with ssl_cert
$db
[
'ssl_cert'
]
=
'/path/to/cert.crt'
;
// path to an SSL certificate file. Only makes sense combined with ssl_key
$db
[
'ssl_ca'
]
=
'/path/to/ca.crt'
;
// path to a file containing SSL CA certs
$db
[
'ssl_capath'
]
=
'/path/to/ca_certs'
;
// path to a directory containing CA certs
$db
[
'ssl_cipher'
]
=
'DHE-RSA-AES256-SHA:AES128-SHA'
;
// one or more SSL Ciphers
$db
[
'ssl_verify'
]
=
'true'
;
// Verify Common Name (CN) of server certificate?
// $db['ssl_key'] = '/path/to/cert.key'; // path to an SSL key file. Only makes sense combined with ssl_cert
// $db['ssl_cert'] = '/path/to/cert.crt'; // path to an SSL certificate file. Only makes sense combined with ssl_key
// $db['ssl_ca'] = '/path/to/ca.crt'; // path to a file containing SSL CA certs
// $db['ssl_capath'] = '/path/to/ca_certs'; // path to a directory containing CA certs
// $db['ssl_cipher'] = 'HIGH:!PSK:!SHA:!MD5:!RC4:!aNULL'; // one or more SSL Ciphers, see openssl ciphers -v '....'
// $db['ssl_verify'] = 'true'; // Verify Common Name (CN) of server certificate?
$db
[
'tmptable_engine_type'
]
=
"MEMORY"
;
// Temporary table type to construct complex queries (MEMORY, InnoDB)
$db
[
'use_cte'
]
=
1
;
// Use recursive CTE queries [>=MariaDB 10.2.2, >=MySQL 8.0] (0=disabled, 1=autodetect, 2=force enable)
...
...
@@ -108,7 +109,7 @@ $cookie_samesite = "Lax";
*
* @var string
*/
$session_storage
=
"
files
"
;
$session_storage
=
"
database
"
;
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment