]> git.openstreetmap.org Git - chef.git/blob - cookbooks/matomo/templates/default/config.erb
imagery: Add OS Local April 2024
[chef.git] / cookbooks / matomo / 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[] = "matomo.openstreetmap.org"
17 trusted_hosts[] = "piwik.openstreetmap.org"
18 salt = "<%= @passwords['salt'] %>"
19
20 [Tracker]
21 ignore_visits_cookie_name = "matomo_ignore"
22
23 [Plugins]
24 <% @plugins.each do |plugin| -%>
25 Plugins[] = "<%= plugin %>"
26 <% end -%>
27
28 [PluginsInstalled]
29 <% Dir.new("#{@directory}/plugins").reject { |f| f =~ /\./ }.sort.each do |plugin| -%>
30 PluginsInstalled[] = "<%= plugin %>"
31 <% end -%>
32
33 [Plugins_Tracker]
34 Plugins_Tracker[] = "Provider"
35 Plugins_Tracker[] = "Goals"
36 Plugins_Tracker[] = "UserCountry"
37 Plugins_Tracker[] = "DevicesDetection"
38 Plugins_Tracker[] = "UsersManager"
39 Plugins_Tracker[] = "SitesManager"
40 Plugins_Tracker[] = "PrivacyManager"
41