Commit 5b5c4142 authored by Pepijn Boers's avatar Pepijn Boers
Browse files

Update visuals

parent 0bf8da10
......@@ -62,6 +62,8 @@ proxy_uri_header = 1
JS tracking requests go to `/matomo.php`. We use the nginx (mirror module)[ngx_http_mirror_module] to duplicate the request and send it to our second server as well (only the original request gets a response). We have to adjust our proxy header again to store the client's original IP.
<img src="img/setup/proxy_mirror.png" alt="Request mirror" width="650"/>
```
location /matomo.php {
# duplicate request to /mirror
......@@ -87,11 +89,7 @@ location = /mirror {
In order to let matomo know it is behind a reverse proxy we have to add some lines to the `config/config.ini.php` file in both installations, see this (faq)[https://matomo.org/faq/how-to-install/faq_98/]. Also we can assume our request are secure, because the connection client-proxy is over https, see illustration below.
<object data="img/setup/reverse_proxy.pdf" type="application/pdf" width="700px" height="700px">
<embed src="img/setup/reverse_proxy.pdf">
<p>This browser does not support PDFs. Please download the PDF to view it: <a href="http://yoursite.com/the.pdf">Download PDF</a>.</p>
</embed>
</object>
<img src="img/setup/reverse_proxy.png" alt="Reverse proxy setup" width="650"/>
```
[General]
......@@ -100,6 +98,7 @@ proxy_client_headers[] = HTTP_X_FORWARDED_FOR
proxy_host_headers[] = HTTP_X_FORWARDED_HOST
```
## Matomo installations
The matomo servers depend on a:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment