我的新网站没有被接收.我创建了appycontrol.staging:
原文链接:https://www.f2er.com/ubuntu/347591.htmlupstream appycontrol_staging { server unix:///var/www/appycontrol.staging/shared/sockets/puma.sock; } server { listen 80 default_server; server_name control-staging.somedomain.com; root /var/www/appycontrol.staging/current/public; location / { proxy_pass http://appycontrol_staging; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }
[Staging] deploy@localhost:~$ls -l /etc/Nginx/sites-enabled/ total 0 lrwxrwxrwx 1 root root 45 Nov 3 2015 appyengine.staging -> /etc/Nginx/sites-available/appyengine.staging lrwxrwxrwx 1 root root 46 Jul 7 06:03 appycontrol.staging -> /etc/Nginx/sites-available/appycontrol.staging
我重新启动了Nginx:
sudo service Nginx restart
但是,control-staging.somedomain.com会被appyengine.staging网站选中.
我错过了什么?