Skip to content

Remote IP via nginx proxy (for https) and add expiration date for key #11

@caotangdaiduong

Description

@caotangdaiduong

I used 127.0.0.0:5001 through the nginx proxy, however at the dashboard I didn't get the client IP, despite having foward the IP and existed the remote client IP from the nginx log.
My config:
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Graylog-Server-URL https://$server_name/;
proxy_pass http://127.0.0.1:5001/;

Also I want to add expiration date information field, please guide me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions