Skip to content
Snippets Groups Projects
Commit a9a6e58c authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Update rebuilderd to 0.3.0

Adjust the configuration of rebuilderd and change the proxy pass port to
the new default port 8484. Remove the plaintext from nginx as it now
serves a nice html website.
parent 11584161
No related branches found
No related tags found
No related merge requests found
- name: install required packages
pacman: name=rebuilderd state=present
# TODO: remove when repro is released with https://github.com/archlinux/archlinux-repro/pull/73
- name: import bootstrap gpg key
command: gpg --auto-key-locate nodefault,wkd --locate-keys pierre@archlinux.de
- name: create ssl cert
command: certbot certonly --email webmaster@archlinux.org --agree-tos --rsa-key-size 4096 --renew-by-default --webroot -w {{ letsencrypt_validation_dir }} -d '{{ rebuilderd_domain }}' creates='/etc/letsencrypt/live/{{ rebuilderd_domain }}/fullchain.pem'
when: 'rebuilderd_domain is defined'
......
......@@ -26,13 +26,9 @@ server {
ssl_certificate_key /etc/letsencrypt/live/{{ rebuilderd_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ rebuilderd_domain }}/chain.pem;
location /api {
proxy_pass http://127.0.0.1:8080;
}
root /srv/http/repro;
location / {
access_log off;
default_type text/plain;
return 200 'Arch Linux Rebuilderd Instance https://wiki.archlinux.org/index.php/Rebuilderd';
location /api {
proxy_pass http://127.0.0.1:8484;
}
}
[http]
# it is highly recommended to bind to localhost and setup nginx as a reverse proxy for https
bind_addr = "127.0.0.1:8080"
[auth]
# set the generated secret for administration here
#cookie = "{{ vault_rebuilderd_auth_cookie }}"
[worker]
# set the generated secret for our workers here
signup_secret = "{{ vault_rebuilderd_signup_secret }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment