Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
caotangdaiduong opened this issue Nov 29, 2020 · 2 comments

Comments

@caotangdaiduong
Copy link

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.

@usrbinsam
Copy link
Owner

Hi @caotangdaiduong are you still having issues with this?

@josegonzalez
Copy link

@usrbinsam this is also something I think I would find interesting (the expiration date part).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants