mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 08:27:29 -02:30
Merge pull request #1956 from droopy4096/devel
allow nginx config extension Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Stage nginx.conf
|
||||
copy:
|
||||
template:
|
||||
src: nginx.conf
|
||||
dest: "{{ docker_base_path }}/nginx.conf"
|
||||
delegate_to: localhost
|
||||
|
||||
@@ -86,6 +86,9 @@ http {
|
||||
uwsgi_read_timeout 120s;
|
||||
uwsgi_pass uwsgi;
|
||||
include /etc/nginx/uwsgi_params;
|
||||
{%- if extra_nginx_include is defined %}
|
||||
include {{ extra_nginx_include }};
|
||||
{%- endif %}
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user