-
Hello umami community, Does anyone managed to get valid country stats in such setup? I assume the reverse proxy doesn't pass the real client IPs. Unfortunately I tested it with nginx and had the same issue. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Did anyone find a solution for this? @OCram85 I'm also facing the same problem. |
Beta Was this translation helpful? Give feedback.
-
See #814. You may need to use a custom header value. |
Beta Was this translation helpful? Give feedback.
-
Did anyone solved this with traefik as reverse proxy? |
Beta Was this translation helpful? Give feedback.
-
Just solved it: traefik normally runs in docker swarm on a version: "3.8"
services:
...
traefik:
image: "traefik:v2.5"
container_name: "traefik"
restart: unless-stopped
networks:
- "traefik-public"
ports:
#- "80:80"
#- "443:443"
...
networks:
traefik-public:
name: traefik-public
external: true
attachable: true But the port-binding must be done via the host: ports:
#- "80:80"
#- "443:443"
- target: 80
published: 80
protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
|
Beta Was this translation helpful? Give feedback.
Just solved it:
traefik normally runs in docker swarm on a
overlay
network. The ports are published like this:But the port-binding must be done via the host: