rejetto forum

Software => HFS ~ HTTP File Server => router & port problems => Topic started by: lysanev on May 01, 2014, 07:50:46 PM

Title: HFS over nginx
Post by: lysanev on May 01, 2014, 07:50:46 PM
Hello!
I use Nginx http server as reverse proxy. All working fine, so fast, but...i have no real ip adresses in logs access, so i can see only one my ip of my nginx server (internal ip)

nginx compile with "ngx_http_realip_module", and in configuration file of nginx is: 
 proxy_set_header        Host            my.example.com;
 proxy_set_header        X-Real-IP       $remote_addr;
 proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;

when i use nginx+apache i CAN see real ip, but with nginx+HFS i can`t see...

Help me ))))
Title: Re: HFS over nginx
Post by: rejetto on May 03, 2014, 11:56:31 AM
it's possible, but disabled for security reasons.

You have to edit the INI file
as reported here
http://www.rejetto.com/forum/hfs-~-http-file-server/requestshow-ip-address-by-using-forwarded-ip/msg1037912/#msg1037912


save configuration to INI
quit HFS
edit INI
change the value
save
run hfs
Title: Re: HFS over nginx
Post by: lysanev on May 03, 2014, 01:15:47 PM
Thank you! All working fine!
Title: Re: HFS over nginx
Post by: Fysack on January 17, 2015, 11:38:24 PM
lol