Browse Source

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>
changes/50/648850/6
Paul Belanger 3 years ago
parent
commit
4775ba346d
  1. 4
      ansible/group_vars/zuul-web.yaml
  2. 13
      zuul/etc/nginx/conf.d/zuul-web.conf.j2

4
ansible/group_vars/zuul-web.yaml

@ -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"

13
zuul/etc/nginx/conf.d/zuul-web.conf.j2

@ -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";
}
}
Loading…
Cancel
Save