you have to do something like this: secure_link $arg_token; secure_link_md5 $remote_addr; (you may include other vars like user-agent, uri, etc... the link will be like this: http://www.domain.com/mp4/file.mp4?token=XXX XXX is the token (have to be the same as secure_link_md5) which in my example is md5($_SERVER['REMOTE_ADDR'])by Smile123 - How to...
Hi, Some of my clients use Proxies (like Squid). I want to log their real ip and the proxy ip. I tried to do so with this log_format: log_format compression '$remote_addr - $http_x_forwarded_for - $proxy_protocol_addr - "$request" - $status'; without sucess. the $remote_adrr contains the proxy ip. $http_x_forwarded_for is empty. and $proxy_protocol_addr is empty too. Howby Smile123 - How to...
![]() |
![]() |
![]() |
![]() |
|