insights.analys.cloud
Overview
Currently we have 2 servers.
Proxy server
Small server that handles the incoming requests and proxies them to the app
server. Uses caddy as a reverse proxy.
{
email dev@whitespace.se
admin :2020
servers {
metrics
}
}
(common) {
header /* {
-Server
-X-Ua-Compatible
-X-Generator
-X-Content-Type-Options
Vary: Cookie
X-Frame-Options: SAMEORIGIN
}
}
insights.w8e.se, insights.analys.cloud {
import common
encode gzip
reverse_proxy 46.246.30.200:81 {
transport http {
tls
tls_insecure_skip_verify
}
}
log {
output file /var/log/caddy/insights.w8e.se.log
format json
}
}
Matomo server (app server)
Old matomo.analys.cloud server. Still also has that old domain configured.
We are using a new client-module for Matomo. This is a custom module that we
are developing for managing multiple clients within the same instance of Matomo.
Diagram
Improvements
- Move all servers to Stockholm DC or Falkenberg DC
- Setup separate database server
- Setup MariaDB server
- Migrate data from current database