diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-24 14:48:14 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-24 14:48:14 +0200 |
commit | b6467bd88b698732093578fa52dbd328bfd1d941 (patch) | |
tree | 9b773b51ed34c519f724e0e79eec4eb695ba26e5 /Readme.md | |
parent | 06918b26a03bd51da02daba6fd64a65ace76f0df (diff) | |
download | aurbuilder-b6467bd88b698732093578fa52dbd328bfd1d941.tar.gz |
readme
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -60,6 +60,28 @@ Enable the systemd timers to activate the automated builds: `systemctl enable aurbuilder-container.timer` and `systemctl enable aurbuilder-package.timer`. +### nginx + +To access the repository conveniently from remote hosts, a webserver is needed. +aurbuilder comes with a sensible default configuration in `/usr/share/aurbuilder/nginx/aurbuilder.conf`. + +It has to be included in a `location` block: + +```nginx +# /etc/nginx/nginx.conf + +http { + # ... + server { + # ... + + location /mycoolrepo { + include /usr/share/aurbuilder/nginx/aurbuilder.conf; + } + } +} +``` + ## Locations | location | description | @@ -67,6 +89,6 @@ Enable the systemd timers to activate the automated builds: | `/srv/pkg` | Package output directory | | `/etc/aurbuilder` | Configuration files | | `/var/lib/aurbuilder` | Homedir of user (for podman storage) | -| `/usr/share/aurbuilder` | Container buildfiles | +| `/usr/share/aurbuilder` | Container buildfiles and nginx config | | `/usr/lib/aurbuilder` | Executables | | `/usr/lib/systemd/system` | Systemd Unitfiles | |