jwt-key-server icon indicating copy to clipboard operation
jwt-key-server copied to clipboard

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

Open caotangdaiduong opened this issue 4 years ago • 2 comments

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.

caotangdaiduong avatar Nov 29 '20 09:11 caotangdaiduong

Hi @caotangdaiduong are you still having issues with this?

usrbinsam avatar Feb 10 '21 18:02 usrbinsam

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

josegonzalez avatar Mar 14 '21 05:03 josegonzalez