]> git.openstreetmap.org Git - chef.git/blob - cookbooks/piwik/templates/default/config.erb
Make imagery sites redirect to https
[chef.git] / cookbooks / piwik / templates / default / config.erb
1 ; <?php exit; ?> DO NOT REMOVE THIS LINE
2 ; file automatically generated or modified by Piwik; 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 = "utf8"
10
11 [General]
12 force_ssl_login = 1
13 proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
14 trusted_hosts[] = "piwik.openstreetmap.org"
15 salt = "<%= @passwords['salt'] %>"
16
17 [Plugins]
18 <% @plugins.each do |plugin| -%>
19 Plugins[] = "<%= plugin %>"
20 <% end -%>
21
22 [PluginsInstalled]
23 <% Dir.new("#{@directory}/plugins").reject { |f| f =~ /\./ }.sort.each do |plugin| -%>
24 PluginsInstalled[] = "<%= plugin %>"
25 <% end -%>
26
27 [Plugins_Tracker]
28 Plugins_Tracker[] = "Provider"
29 Plugins_Tracker[] = "Goals"
30 Plugins_Tracker[] = "DoNotTrack"
31 Plugins_Tracker[] = "UserCountry"
32 Plugins_Tracker[] = "DevicesDetection"
33 Plugins_Tracker[] = "UsersManager"
34 Plugins_Tracker[] = "SitesManager"
35 Plugins_Tracker[] = "PrivacyManager"
36