Skip to content
Snippets Groups Projects
config.ini.php 1.18 KiB
Newer Older
  • Learn to ignore specific revisions
  • jurgenhaas's avatar
    jurgenhaas committed
    ; <?php exit; ?> DO NOT REMOVE THIS LINE
    ; file automatically generated or modified by matomo; you can manually override the default values in global.ini.php by redefining them in this file.
    [database]
    host = "127.0.0.1"
    username = "root"
    password = "{{ mysql_root_password|default("root") }}"
    dbname = "matomo_{{ matomo.id }}"
    
    tables_prefix = "{{ matomo.tables_prefix|default("matomo") }}_"
    
    jurgenhaas's avatar
    jurgenhaas committed
    port = "{{ matomo.db_port|default('3306') }}"
    
    [General]
    assume_secure_protocol = {% if matomo.protocol|default("https") == "https" %}1{% else %}0{% endif %}
    
    jurgenhaas's avatar
    jurgenhaas committed
    
    
    jurgenhaas's avatar
    jurgenhaas committed
    force_ssl = {% if matomo.protocol|default("https") == "https" %}1{% else %}0{% endif %}
    
    jurgenhaas's avatar
    jurgenhaas committed
    
    trusted_hosts[] = "{{ matomo.domain }}"
    salt = "{{ matomo.config.salt }}"
    proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
    proxy_host_headers[] = "HTTP_X_FORWARDED_HOST"
    
    [mail]
    transport = "smtp"
    port = {{ matomo.smtp.port }}
    host = "{{ matomo.smtp.host }}"
    type = "{{ matomo.smtp.authtype }}"
    username = "{{ matomo.smtp.name }}"
    password = "{{ matomo.smtp.password }}"
    {% if matomo.smtp.secure is defined %}
    encryption = "{{ matomo.smtp.secure }}"
    {% endif %}
    
    [PluginsInstalled]
    
    {% for plugin in matomo_plugins %}
    PluginsInstalled[] = "{{ plugin }}"
    {% endfor %}