diff --git a/ext/nginx.conf.d/production.conf.template b/ext/nginx.conf.d/production.conf.template index c0c138c..fd091c3 100644 --- a/ext/nginx.conf.d/production.conf.template +++ b/ext/nginx.conf.d/production.conf.template @@ -2,7 +2,7 @@ # The point of this config file is to have near-identical setup in PRODUCTION. # Use it in production or copy it over -upstream puma { +upstream ensl_production { server production:$PRODUCTION_PUMA_PORT; # server unix:/var/tmp/puma.$RAILS_ENV.sock fail_timeout=0; } diff --git a/ext/nginx.conf.d/staging.conf.template b/ext/nginx.conf.d/staging.conf.template index b5b3103..e2f13cc 100644 --- a/ext/nginx.conf.d/staging.conf.template +++ b/ext/nginx.conf.d/staging.conf.template @@ -2,7 +2,7 @@ # The point of this config file is to have near-identical setup in staging. # Use it in production or copy it over -upstream puma { +upstream ensl_staging { server staging:$PUMA_PORT; # server unix:/var/tmp/puma.$RAILS_ENV.sock fail_timeout=0; }