Fix issue with NGINX template that broke execution of role, due to use of incorrectly named variables.
This commit is contained in:
parent
1be7016546
commit
48ec3aead6
|
@ -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 }};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue