Re: always run same script in location

2016-09-22 Thread basti
I have files by myself. the part of my conf looks like location ~ ^/foo/(.*.\.pl|cgi)$ { ... } location ~ ^/foo/d/(.+?)(/.*)$ { try_files foo /foo/dl.pl; } foo is a non existent file, so always dl.pl is executed On 22.09.2016 13:13, basti wrote: > Hello, > > i have a script where i can up

always run same script in location

2016-09-22 Thread basti
Hello, i have a script where i can upload files. the uri is like https://example.com/foo/bar.pl the location looks like location ~ ^/foo/(.*.\.pl|cgi)$ { ... } then a upload url is generatred https://example.com/foo/u/f28c104/df3d-45ce/example.txt the location for the uploaded files looks li