主域名 a.com 是在别的机器上的,我也不知道具体情况。现在目标是要弄个子域名 week.a.com。 按道理我的配置应该可以了吧
server {
        listen       8888;
        server_name  week.a.com;
        passenger_enabled on;
        charset utf-8;
        root /var/www/a_project/current/public;
        rails_env production;
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
           root   html;
        }
}
可是,打开却会显示
 是哪里少了什么吗?
如果用 IP+ 端口,即 xxx.xxx.xxx.xxx:8888 是可以正常打开的……
是哪里少了什么吗?
如果用 IP+ 端口,即 xxx.xxx.xxx.xxx:8888 是可以正常打开的……
还是决定监听 80 端口了……