diff --git a/ipapi/deployment.yaml b/ipapi/deployment.yaml index bed1bc1..e18ac72 100644 --- a/ipapi/deployment.yaml +++ b/ipapi/deployment.yaml @@ -28,7 +28,7 @@ spec: imagePullPolicy: Always name: ipapi args: - - -H "X-Real-IP" + - -H "X-Forwarded-For" ports: - containerPort: 8080 name: http diff --git a/ipapi/service.yaml b/ipapi/service.yaml index d928536..760b685 100644 --- a/ipapi/service.yaml +++ b/ipapi/service.yaml @@ -9,6 +9,6 @@ spec: ports: - name: http port: 8080 - targetPort: 8080 + targetPort: http selector: app: ipapi