Chinaunix
标题:
nginx泛域名解析问题
[打印本页]
作者:
qsbaq
时间:
2014-08-02 18:57
标题:
nginx泛域名解析问题
nginx域名配置问题,服务器上多个域名如下:
*.jjhr.net default_server
*.052356.net
www.052356.net
这里用了泛域名,这里是一个配置文件。
输入网址:
http://052356.net
的时候这里就跳转到了 jjhr.net的配置,而不是打开 *.052356.net的配置。
请问这里要如何设置才能正确跳转到*.052356.net的地址。
--with-http_sub_module 这个模块是有的。
作者:
bikong0411
时间:
2014-08-03 09:29
server_name 052356.net *.052356.net
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2