Skip to content

Commit 6494f9b

Browse files
Use location ^~ /simple/ for location block to prevent falling in image blocks
1 parent 0b06627 commit 6494f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_docs/20_install-script/25_proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Proxy
33
category: install-script
44
permalink: /proxy
5-
last_modified_at: 2024-11-05
5+
last_modified_at: 2025-06-18
66
---
77

88
Concerned about your website visitors’ privacy when using Simple Analytics? We understand. Let’s be clear: we never collect your visitors’ IP addresses. And with our proxy setup option using Caddy, NGINX, Netlify, or Vercel, you have the power to ensure those IP addresses never reach us. This setup acts as a privacy shield, keeping your visitors' IP addresses from reaching external services.
@@ -19,7 +19,7 @@ Setting up a proxy means no visitor IPs get to our servers. It’s an easy and e
1919
> Trailing slashes are very important here. Keep them as they are in this example.
2020
2121
```
22-
location /simple/ {
22+
location ^~ /simple/ {
2323
proxy_set_header X-Forwarded-Proto $scheme;
2424
proxy_set_header X-Forwarded-Proto-Version $http2;
2525
proxy_set_header Host $http_host;

0 commit comments

Comments
 (0)