Skip to content

Instantly share code, notes, and snippets.

@VirtuBox
Created February 4, 2023 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VirtuBox/7525cb0315cbed75bbfe659e31fbd3ea to your computer and use it in GitHub Desktop.
Save VirtuBox/7525cb0315cbed75bbfe659e31fbd3ea to your computer and use it in GitHub Desktop.
matomo wordops conf
location ~ /(config|tmp|core|lang|libs|vendor|plugins|misc/user)$ {
deny all;
}
add_header Referrer-Policy origin;
add_header X-Piwik-Cache $upstream_cache_status;
location ~* \.html$ {
allow all;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment