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:
parent
66ff906b7e
commit
4775ba346d
@ -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
Normal file
13
zuul/etc/nginx/conf.d/zuul-web.conf.j2
Normal 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";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user