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