deb.sury.org
The main repositories now contain both PHP 5.6, PHP 7.0-7.4 and PHP 8.0-8.3 coinstallable together.
The main repositories now contain both PHP 5.6, PHP 7.0-7.4 and PHP 8.0-8.3 coinstallable together.
sudo certbot --nginx -d example.com -d www.example.com
This is a small nginx configuration that should help you get your own Matomo instance running and start collecting your own analytics.
root@www:~# apt -y install fcgiwrap
root@www:~# vi /etc/nginx/fcgiwrap.conf
# create new
# for example, enable CGI under [/cgi-bin]
location /cgi-bin/ {
gzip off;
root /var/www;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
root@www:~# mkdir /var/www/cgi-bin
root@www:~# chmod 755 /var/www/cgi-bin
# add settings into [server] section of a site definition
root@www:~# vi /etc/nginx/sites-available/default
server {
.....
.....
include fcgiwrap.conf;
}
root@www:~# systemctl enable fcgiwrap
root@www:~# systemctl reload ngin