From b25f45d3d36a56d2d02141541a1629d7ad04453c Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Fri, 9 Oct 2020 23:20:12 +0300 Subject: [PATCH] Update docker-compose --- ext/nginx.conf.d/production.conf.template | 2 +- ext/nginx.conf.d/staging.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/nginx.conf.d/production.conf.template b/ext/nginx.conf.d/production.conf.template index fd091c3..4624405 100644 --- a/ext/nginx.conf.d/production.conf.template +++ b/ext/nginx.conf.d/production.conf.template @@ -82,7 +82,7 @@ server { location @puma { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; - proxy_pass http://puma; + proxy_pass http://ensl_production; } try_files $uri/index.html $uri @puma; diff --git a/ext/nginx.conf.d/staging.conf.template b/ext/nginx.conf.d/staging.conf.template index e2f13cc..761049d 100644 --- a/ext/nginx.conf.d/staging.conf.template +++ b/ext/nginx.conf.d/staging.conf.template @@ -3,7 +3,7 @@ # Use it in production or copy it over upstream ensl_staging { - server staging:$PUMA_PORT; + server staging:$PUMA_STAGING_PORT; # server unix:/var/tmp/puma.$RAILS_ENV.sock fail_timeout=0; }