server_name help

kevin kevincastiglione at gmail.com
Wed Jan 6 06:40:37 MSK 2010


On Tue, Jan 5, 2010 at 7:16 PM, Edho P Arief <edhoprima at gmail.com> wrote:

> 2010/1/6 kevin <kevincastiglione at gmail.com>:
> > hi guys
> > how do i configure servername so that any domain starting with XXX. gets
> > matched?
> >
> >
> > for ex
> >     server {
> >         server_name XXX._______;
> >         location / {
> >             root   /home/web/work;
> server_name XXX.*
>
> this does not work i get 404 error.
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100105/47f84824/attachment.html>


More information about the nginx mailing list