forked from mislav/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnginx-dir.conf
More file actions
29 lines (22 loc) · 762 Bytes
/
nginx-dir.conf
File metadata and controls
29 lines (22 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
daemon off;
events {
worker_connections 1024;
}
http {
include /opt/local/Cellar/nginx/0.7.62/conf/mime.types;
# Assuming path has been set to a Rails application
access_log log/nginx.access.log;
client_body_temp_path tmp/nginx.client_body_temp;
fastcgi_temp_path tmp/nginx.client_body_temp;
proxy_temp_path tmp/nginx.proxy_temp;
passenger_root /opt/local/Cellar/ruby-enterprise-edition/2009.10/lib/ruby/gems/1.8/gems/passenger-2.2.9;
passenger_ruby /opt/local/Cellar/ruby-enterprise-edition/2009.10/bin/ruby;
server {
listen 3000;
server_name localhost;
root public;
passenger_enabled on;
#rails_env development;
rack_env development;
}
}