DocumentRoot should end up on specific file !

Dewangga Bachrul Alam dewanggaba at xtremenitro.org
Mon Aug 31 14:33:43 UTC 2015


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
> 



More information about the nginx mailing list