Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5707

Docker install: Edit file piwik/config/config.ini.php

$
0
0

@ghost wrote:

Hi, installed Piwik using Docker, added the install to a subdomain and now I’m getting a notice

Warning: You are now accessing Piwik from http://subdomain.domain.com/, but Piwik has been configured to run at this address: http://123.123.123.456/.

Click here to access Piwik safely and remove this warning. You may also want to contact your Piwik administrator and notify them about this issue ().

How do I fix this problem and how do I login again?
The Piwik Super User can manually edit the file piwik/config/config.ini.php and add the following lines:
[General]
trusted_hosts[] = "subdomain.domain.com"
After making the change, you will be able to login again.
You may also disable this security feature (not recommended). To do so edit config/config.ini.php and add:
[General]
enable_trusted_host_check=0

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5707

Trending Articles