From 48ec3aead6ed5b65fb13a86eede6f6a52f564038 Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Wed, 25 Feb 2015 13:13:38 -0500 Subject: [PATCH] Fix issue with NGINX template that broke execution of role, due to use of incorrectly named variables. --- templates/nginx/app_uwsgi_nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nginx/app_uwsgi_nginx.conf b/templates/nginx/app_uwsgi_nginx.conf index 170ad02..125ba5b 100644 --- a/templates/nginx/app_uwsgi_nginx.conf +++ b/templates/nginx/app_uwsgi_nginx.conf @@ -1,6 +1,6 @@ server { - server_name {{ nginx_hostname }}; + server_name {{ app_nginx_hostname }}; access_log {{ web_root_path }}/logs/nginx/{{ app_name }}-access.log; error_log {{ web_root_path }}/logs/nginx/{{ app_name }}-error.log info; @@ -13,6 +13,6 @@ server { } location @yourapplication { include uwsgi_params; - uwsgi_pass 127.0.0.1:{{ uwsgi_port }}; + uwsgi_pass 127.0.0.1:{{ app_uwsgi_port }}; } } \ No newline at end of file