容器技术交流

 找回密码
 立即注册
查看: 5387|回复: 4

二级域名版块绑定问题,你们有二级绑定成功的吗

[复制链接]
发表于 2012-6-6 12:33:24 | 显示全部楼层 |阅读模式
二级域名版块绑定问题,你们有自己是二级绑定成功的,发来网址,我想了解一下的呢!
我自己现在绑定一个http://love.laixipu.com 好用,可另一个死活不好用,郁闷了http://jk.laixipu.com 我的域名是泛解析的,应该说http://love.laixipu.com 好用那另一个也应该好用你们说是不


2012-5-15 09:11 上传
下载附件 (12.28 KB)


2012-5-15 09:11 上传
下载附件 (3.94 KB)


2012-5-15 09:11 上传
下载附件 (4.38 KB)


QQ:151813456
发表于 2012-6-6 12:36:36 | 显示全部楼层
只有这一个域名不好用吗?看看vhost.conf配置文件的内容,有没有错
 楼主| 发表于 2012-6-6 12:47:22 | 显示全部楼层
是其它后来增加的二级域名都不行的附上
/usr/local/nginx/conf/vhost.conf: Nginx的网站(虚拟主机)配置文件

server {
        server_name   web.laixipu.com ;
listen       80;
         if ($host !~ ^(10.lum|116.255.175.202|web.laixipu.com)$) {
                 return 403;
         }

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         include /home/lum_safe_files/htaccess_files/.htaccess.dx25;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/bbs/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  dzz.php;
                 autoindex        off;
        }
        location /nginx_status {
                stub_status on;
                access_log off;
        }
        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {
                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}

server {
        server_name   3g.laixipu.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/3g/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}

server {
        server_name   laixipu.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

         if ($host != www.laixipu.com) {
                 rewrite ^/(.*)$ http://www.laixipu.com/$1 permanent;
         }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/bbs/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}

server {
        server_name   wentuc.com www.wentuc.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         root   /home/ftp/1520/wentuc-20120423-LTz/wentuc.com/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}

#-+-+-+-+-+-+-+-+-+-+ id: 3 --- ftp name: nbnow_demo_t1 --- user: admin +-+-+-+-+-+-+-+-+-+

server {
        server_name   chat.laixipu.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/bbs/chat/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}


server {
        server_name   bbs.laixipu.com love.laixipu.com jt.laixipu.com jk.laixipu.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         include /home/lum_safe_files/htaccess_files/.htaccess.dx25;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/bbs/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.php index.html index.htm index.shtml;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}

#-+-+-+-+-+-+-+-+-+-+ id: 1 --- ftp name: nbnow_demo_t1 --- user: admin +-+-+-+-+-+-+-+-+-+

server {
        server_name   www.laixipu.com ;

        listen       80;

        gzip on;

        add_header Thanks 'Welcome to our website!';

        if (-d $request_filename) {

                rewrite ^/(.*)([^/])$ $scheme://$host/$1$2/ permanent;
        }

        include proxy_pass.conf;
         proxy_set_header Host $host;

        error_log                /dev/null info;
        access_log                /dev/null lu_access_log_2;

         error_page 403 /__ErrorFiles__/403.html;
         error_page 404 /__ErrorFiles__/404.html;

         error_page 500 /__ErrorFiles__/500.html;
         error_page 501 /__ErrorFiles__/501.html;
         error_page 502 /__ErrorFiles__/502.html;

         include /home/lum_safe_files/htaccess_files/.htaccess.laixipu;

         root   /home/ftp/1520/nbnow_demo_t1-20120326-rZx/laixipu.com/;

         ssi off;
         ssi_silent_errors off;
         ssi_types text/shtml;

        location / {

                 index  index.html index.htm index.shtml index.php;
                 autoindex        off;
        }

        location /nginx_status {
                stub_status on;
                access_log off;
        }

        #------------
         location ~* \.(php[3-9]?|phtm[l]?)(\/.*)*$ {

                  fastcgi_pass 127.0.0.1:8999;

                 if ($request_filename ~* (.*)\.(php[3-9]?|phtm[l]?)) {
                     set $lum_php_filename $1.$2;
                 }
                 if (!-f $lum_php_filename) {
                     return 403;
                 }

                  include enable_php.conf;
         }

        location ~ /\.ht {
                return 403;
        }

        location ~ (favicon.ico) {

                log_not_found off;
                access_log   off;
        }

}
 楼主| 发表于 2012-6-9 08:49:33 | 显示全部楼层
官方也不说话的吗
 楼主| 发表于 2012-6-12 12:35:30 | 显示全部楼层
绝对服了,官方也没个人说一说的啊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-7 19:17 , Processed in 0.033645 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表