Reputation: 417
When I run
sudo mate /opt/nginx/conf/nginx.conf
my nginx.conf file opens but is blank, what did i do wrong?
trying to deploy my rails app to a ubuntu 10.04 lucid with passenger, nginx, and REE
Upvotes: 0
Views: 231
Reputation: 1034
Are you sure you're not looking for:
sudo nano /etc/nginx/nginx.conf
on your server?
Upvotes: 0
Reputation: 1868
On which machine are you running "sudo mate ..."? If you're trying to deploy, you should be on the Ubuntu server. I suspect you're using a Mac for development and the command you've issued is to edit the local nginx installation on your Mac, not on the deployment server.
Upvotes: 1