nginx: [emerg]: unknown "secure_download" variable
Ivan
bdfy at mail.ru
Tue Dec 7 19:13:03 MSK 2010
1) secure_download on;
secure_download_secret IAmSalt$remote_addr;
secure_download_path_mode file;
?
2)
http://wiki.nginx.org/3rdPartyModules
/configure --add-module=/path/to/module1/source \
--add-module=/path/to/module2/source
?
Tue, 07 Dec 2010 11:02:01 -0500 письмо от Robert La Ferla <robert.laferla at o-ms.com>:
> I was following the example in http://wiki.nginx.org/HttpSecureDownload
> but when I added this:
>
> if ($secure_download = "-1") {
> rewrite /expired.html break;
> }
> if ($secure_download = "-2") {
> rewrite /bad_hash.html break;
> }
> if ($secure_download = "-3") {
> return 500;
> }
>
> nginx complains when starting:
>
> nginx: [emerg]: unknown "secure_download" variable
>
>
> Ideas?
>
> --
> - --
> Robert La Ferla
> VP Engineering
> OMS SafeHarbor
>
> This message (and any attachments) contains confidential information and is
> protected by law. If you are not the intended recipient, you should delete
> this message and are hereby notified that any disclosure, copying,
> distribution, or the taking of any action based on this message, is strictly
> prohibited.
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list