On 28 August 2014, Christopher Zimmermann <[email protected]> wrote:
> On Thu, 28 Aug 2014 14:37:34 +0300 Gregory Edigarov
> <[email protected]> wrote:
> 
> > Hello
> >
> > are there any plans to implement uri rewriting or something in a manner
> > of 'try_files' configuration option of nginx?
> 
> I plan to add a URL stripping option, somewhat more powerful than the
> nginx alias directive:
> 
> 
> root [strip number] directory
>       Set the document root of the server.  The directory is a
>       pathname within the chroot(2) root directory of httpd.  If not
>       specified, it defaults to /htdocs.  If the strip option is set, number
>       path components are removed from the beginning of the URI before
>       directory is prepended.
> 
> this would allow you to do for example:
> 
> location "/wiki/" {
>         strip 1
>         root "/dokuwiki"
>         directory index "doku.php"
>         fastcgi socket "/tmp/php.sock"
> }

    What about redirect, say from http://mumble to https://mumble?

    Regards,

    Liviu Daia

Reply via email to