|
|
|
@ -4,11 +4,11 @@ upstream php-handler {
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
server_name ${MATOMO_DOMAIN}
|
|
|
|
|
server_name ${MATOMO_DOMAIN}
|
|
|
|
|
|
|
|
|
|
add_header Referrer-Policy origin always; # make sure outgoing links don't show the URL to the Matomo instance
|
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
|
add_header X-XSS-Protection "1; mode=block" always;
|
|
|
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
|
|
|
add_header X-XSS-Protection "1; mode=block" always;
|
|
|
|
|
root /var/www/html; # replace with path to your matomo instance
|
|
|
|
|
index index.php;
|
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
|