update config for envvar passing

This commit is contained in:
Sam Dodrill 2015-01-09 20:04:30 -08:00
parent 747260ac92
commit 6a5573aad7
1 changed files with 6 additions and 6 deletions

View File

@ -2,6 +2,12 @@ worker_processes ${{NUM_WORKERS}};
error_log stderr notice;
daemon off;
env POSTGRESQL_PORT_5432_TCP_PORT;
env POSTGRESQL_PORT_5432_TCP_ADDR;
env DB_USER;
env DB_PASS;
env DB_NAME;
events {
worker_connections 1024;
}
@ -13,12 +19,6 @@ http {
listen ${{PORT}};
lua_code_cache ${{CODE_CACHE}};
env POSTGRESQL_PORT_5432_TCP_PORT;
env POSTGRESQL_PORT_5432_TCP_ADDR;
env DB_USER;
env DB_PASS;
env DB_NAME;
location / {
default_type text/html;
content_by_lua '