Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added X-Forwarded-For & X-Real-IP headers

Blue Mouse01b1581ac6d6
diff --git a/meta/nginx/example-config b/meta/nginx/example-config
index 54f62da82..470a6e775 100644
--- a/meta/nginx/example-config
+++ b/meta/nginx/example-config
@@ -3,6 +3,8 @@ server {
location / {
proxy_pass http://localhost:5005;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Real-IP $remote_addr;
}
listen 443 ssl; # managed by Certbot