Need to migrate your e-mails to a new server? Free and paid versions of our online tool available.
Hero Image

Virtual folder to url with sub filter with nginx

First define virtual path called virtualfolder. It can be any name actually. Then define subfilter what replaces slash with virtualfolder name.

location /virtualfolder/ {

        sub_filter "/" "/virtualfolder/";
}

Any url in location will become /virtualfolder/

Other Related Posts: