Skip to content

Commit

Permalink
MDBF-865 - Nginx cloud-init location
Browse files Browse the repository at this point in the history
add /cloud-init location to expose required artifacts
for libvirt cloud-init image deployment in Ansible
  • Loading branch information
RazvanLiviuVarzaru committed Dec 17, 2024
1 parent 589836c commit 3a29616
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ services:
- /srv/buildbot/packages:/srv/buildbot/packages:ro
- /srv/buildbot/galera_packages:/srv/buildbot/galera_packages:ro
- /srv/buildbot/helper_files:/srv/buildbot/helper_files:ro
- /srv/buildbot/cloud-init:/srv/buildbot/cloud-init:ro
- ./certbot/www/:/var/www/certbot/:ro
- ./certbot/ssl/:/etc/nginx/ssl/:ro
environment:
Expand Down
1 change: 1 addition & 0 deletions docker-compose/generate-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
- /srv/buildbot/packages:/srv/buildbot/packages:ro
- /srv/buildbot/galera_packages:/srv/buildbot/galera_packages:ro
- /srv/buildbot/helper_files:/srv/buildbot/helper_files:ro
- /srv/buildbot/cloud-init:/srv/buildbot/cloud-init:ro
- ./certbot/www/:/var/www/certbot/:ro
- ./certbot/ssl/:/etc/nginx/ssl/:ro
environment:
Expand Down
6 changes: 6 additions & 0 deletions docker-compose/nginx/templates/ci.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ server {
location /galera {
alias /srv/buildbot/galera_packages;
}

location /cloud-init {
alias /srv/buildbot/cloud-init;
autoindex off;
}

location = /favicon.ico {
access_log off;
}
Expand Down

0 comments on commit 3a29616

Please sign in to comment.