server_name help

Edho P Arief edhoprima at gmail.com
Wed Jan 6 06:16:40 MSK 2010


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;
>             fastcgi_pass backend_dev;
>         }
>     }
>
>
> thanks a lot!
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>

server_name XXX.*

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list