Setup deployment via CI (#2)
All checks were successful
Website build and deploy / build (push) Successful in 25s

Uses the Forgejo actions

Reviewed-on: #2
Co-authored-by: Max Mehl <mail@mehl.mx>
Co-committed-by: Max Mehl <mail@mehl.mx>
This commit was merged in pull request #2.
This commit is contained in:
2024-01-10 16:32:48 +01:00
committed by mxmehl
parent 78750cd05e
commit c7b0370595
2 changed files with 69 additions and 4 deletions

View File

@@ -8,16 +8,16 @@
// Edit the line below, and replace http://your-matomo-domain.example.org/matomo/
// with your Matomo URL ending with a slash.
// This URL will never be revealed to visitors or search engines.
$PIWIK_URL = 'http://your-matomo-domain.example.org/matomo/';
$PIWIK_URL = '__PIWIK_URL__';
// Edit the line below and replace http://your-tracker-proxy.org/ with the URL to your tracker-proxy
// setup. This URL will be used in Matomo output that contains the Matomo URL, so your Matomo is effectively
// hidden.
$PROXY_URL = 'http://your-tracker-proxy.org/';
$PROXY_URL = '__PROXY_URL__';
// Edit the line below, and replace xyz by the token_auth for the user "UserTrackingAPI"
// which you created when you followed instructions above.
$TOKEN_AUTH = 'xyz';
$TOKEN_AUTH = '__TOKEN_AUTH__';
// Maximum time, in seconds, to wait for the Matomo server to return the 1*1 GIF
$timeout = 5;
@@ -29,7 +29,7 @@ $user_agent = '';
// In some situations the backend takes the sending IP address into account
// which by default is the IP address of the server/service proxy.php is executed from.
// If $http_forward_header is set, the clients IP address is sent over in the
// header field with the given name. An empty string means do not send the header.
// header field with the given name. An empty string means do not send the header.
// A common header name is 'X-Forwarded-For'.
//
// In order to work, the http server serving the matomo instance, has to be configured