download and movie alias

Francis Daly francis at daoine.org
Fri Jan 9 23:52:25 UTC 2015


On Sat, Jan 10, 2015 at 12:11:20AM +0100, Silvio Siefke wrote:

Hi there,

> I understand not why the link www.example.com/download
> not work but www.example.com/download/ works. 

The request /download does not match either of these location{} blocks.

>  location ~ ^/video/(.*)$ {
>  location ~ ^/downloads/(.*)$ {

Perhaps add

  location = /download { return 301 /download/; }

(You may mean /download or /downloads, I'm not sure.)

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list