Add zuul-web nginx configuration

This should allow the zuul dashboard to work.

Change-Id: I53c7ccb861630cfbca19d53193e5a7266b179635
Depends-On: https://review.openstack.org/648849
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-03-30 23:37:14 -04:00
parent 66ff906b7e
commit 4775ba346d
2 changed files with 17 additions and 0 deletions

View File

@ -33,3 +33,7 @@ logrotate_configs:
- rotate 7
- daily
- notifempty
nginx_file_nginx_config:
- dest: /etc/nginx/conf.d/zuul-web.conf
src: "{{ windmill_config_git_dest }}/zuul/etc/nginx/conf.d/zuul-web.conf.j2"

View File

@ -0,0 +1,13 @@
server {
listen 80;
listen [::]:80;
server_name _;
location /zuul/ {
proxy_pass http://{{ hostvars['zw01'].ansible_host }}:9000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}