Skip to content

Instantly share code, notes, and snippets.

@lalala
Created April 19, 2011 05:25
Show Gist options
  • Save lalala/926854 to your computer and use it in GitHub Desktop.
Save lalala/926854 to your computer and use it in GitHub Desktop.
sudo /opt/nginx/sbin/nginx -s reload
nginx: [emerg] getgrnam("deploy") failed in /opt/nginx/conf/nginx.conf:2
----
cat /opt/nginx/conf/nginx.conf
user deploy;
worker_processes 1;
events {
worker_connections 1024;
}
http {
passenger_root /usr/local/rvm/gems/ruby-1.9.2-head@cochimetl/gems/passenger-3.0.7;
passenger_ruby /usr/local/rvm/wrappers/ruby-1.9.2-head@cochimetl/ruby;
server {
listen 80;
server_name beta.mrmask.se;
root /srv/www/rails/cochimetl/public;
passenger_enabled on;
#passenger_use_global_queue on;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment