DocumentRoot should end up on specific file !

shahzaib shahzaib shahzaib.cb at gmail.com
Mon Aug 31 15:03:33 UTC 2015


Hi,

  THanks, looking into it.

Regards.
Shahzaib

On Mon, Aug 31, 2015 at 7:33 PM, Dewangga Bachrul Alam <
dewanggaba at xtremenitro.org> wrote:

> Hello!
>
> On 08/31/2015 09:29 PM, shahzaib shahzaib wrote:
> > Hi,
> >
> >   We want nginx vhost to access the file audo_portal.php without
> > specifying it,i.e  instead of using
> > URL http://domain.com/audio_portal.php , can we access it with
> > http://domain.com ? So it'll directly access audio_portal.php just like
> > index.php ?
>
> Yes you can use index on http, location, and server. See
> http://nginx.org/en/docs/http/ngx_http_index_module.html
>
> >
> > Regards.
> > Shahzaib
> >
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> >
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150831/8c6456cf/attachment.html>


More information about the nginx mailing list