Welcome! Log In Create A New Profile


$request_filename rename in download

September 18, 2011 07:28PM

I have created a public proxy with nginx but when i download files like "proxy.*****.com/?url=google.com/images/logo_sm.gif" the filename "logo_sm.gif" it's not save in browse as the real name but with the name: "download".

I need a rewrite rules that rename the filename with $args of url.

the file.zip will be downloaded as "download" name, not with file.zip name. So i need a rule that rename the file with another with:

This is very easy for who know rewrite of nginx, i searn a lot of combination but i loss only time..
Subject Author Posted

$request_filename rename in download

raffo September 18, 2011 07:28PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready