Fix issue with NGINX template that broke execution of role, due to use of incorrectly named variables.

This commit is contained in:
Dorian 2015-02-25 13:13:38 -05:00
parent 1be7016546
commit 48ec3aead6
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
server { server {
server_name {{ nginx_hostname }}; server_name {{ app_nginx_hostname }};
access_log {{ web_root_path }}/logs/nginx/{{ app_name }}-access.log; access_log {{ web_root_path }}/logs/nginx/{{ app_name }}-access.log;
error_log {{ web_root_path }}/logs/nginx/{{ app_name }}-error.log info; error_log {{ web_root_path }}/logs/nginx/{{ app_name }}-error.log info;
@ -13,6 +13,6 @@ server {
} }
location @yourapplication { location @yourapplication {
include uwsgi_params; include uwsgi_params;
uwsgi_pass 127.0.0.1:{{ uwsgi_port }}; uwsgi_pass 127.0.0.1:{{ app_uwsgi_port }};
} }
} }