]> git.openstreetmap.org Git - chef.git/blob - cookbooks/piwik/templates/default/config.erb
469adeeecdfee911b94b2bc7e32b7163d004a69e
[chef.git] / cookbooks / piwik / templates / default / config.erb
1 ; <?php exit; ?> DO NOT REMOVE THIS LINE
2 ; file automatically generated or modified by Matomo; you can manually override the default values in global.ini.php by redefining them in this file.
3 [database]
4 host = "localhost"
5 username = "piwik"
6 password = "<%= @passwords['database'] %>"
7 dbname = "piwik"
8 tables_prefix = "piwik_"
9 charset = "utf8mb4"
10
11 [General]
12 force_ssl = 1
13 force_ssl_login = 1
14 login_allowlist_apply_to_reporting_api_requests = "0"
15 proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
16 trusted_hosts[] = "piwik.openstreetmap.org"
17 salt = "<%= @passwords['salt'] %>"
18
19 [Tracker]
20 ignore_visits_cookie_name = "piwik_ignore"
21
22 [Plugins]
23 <% @plugins.each do |plugin| -%>
24 Plugins[] = "<%= plugin %>"
25 <% end -%>
26
27 [PluginsInstalled]
28 <% Dir.new("#{@directory}/plugins").reject { |f| f =~ /\./ }.sort.each do |plugin| -%>
29 PluginsInstalled[] = "<%= plugin %>"
30 <% end -%>
31
32 [Plugins_Tracker]
33 Plugins_Tracker[] = "Provider"
34 Plugins_Tracker[] = "Goals"
35 Plugins_Tracker[] = "UserCountry"
36 Plugins_Tracker[] = "DevicesDetection"
37 Plugins_Tracker[] = "UsersManager"
38 Plugins_Tracker[] = "SitesManager"
39 Plugins_Tracker[] = "PrivacyManager"
40