2013-08-17 06:41:19 +00:00
|
|
|
worker_processes 1;
|
2013-08-18 02:53:44 +00:00
|
|
|
error_log stderr;
|
2013-08-17 06:41:19 +00:00
|
|
|
pid nginx.pid;
|
|
|
|
daemon off;
|
|
|
|
|
|
|
|
events {
|
|
|
|
worker_connections 768;
|
2014-06-20 17:37:51 +00:00
|
|
|
}
|
2013-08-17 06:41:19 +00:00
|
|
|
|
|
|
|
http {
|
|
|
|
include mime.types;
|
|
|
|
server {
|
|
|
|
listen <%= ENV['PORT'] %>;
|
|
|
|
server_name _;
|
2014-06-20 17:38:48 +00:00
|
|
|
root <%= ENV.fetch('root', '/app/www') %>;
|
2013-08-17 06:41:19 +00:00
|
|
|
index index.html;
|
|
|
|
}
|
2014-06-20 17:37:51 +00:00
|
|
|
}
|