nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

real ip

Open ManuProd opened this issue 3 years ago • 5 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

ManuProd avatar Apr 25 '23 16:04 ManuProd

error sorry...

ManuProd avatar Apr 25 '23 16:04 ManuProd

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Jan 21 '24 01:01 github-actions[bot]

Hello everyone, I run into the same issue, and I solved it like this:

npm:
    image: jc21/nginx-proxy-manager:2.12.1
    ports:
      - "80:80"
      - "443:443"
      - "8090:81"
    environment:
     ...
    volumes:
      - ${NFS_DOCKER_VOLUMES}/npm_volume/data:/data
      - ${NFS_DOCKER_VOLUMES}/npm_volume/letsencrypt:/etc/letsencrypt
      # Fixed by mounting it to this path.       
      - ./configs/server_proxy.conf:/data/nginx/custom/server_proxy.conf

My config file ./configs/server_proxy.conf:

# Required to pass the real client IP address to the backend services 
real_ip_header CF-Connecting-IP;

Note: You can change CF-Connecting-IP with anything you want if needed.

medram avatar Feb 11 '25 20:02 medram

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Sep 13 '25 02:09 github-actions[bot]

Issue was closed due to inactivity.

github-actions[bot] avatar Sep 16 '26 01:09 github-actions[bot]