From b6467bd88b698732093578fa52dbd328bfd1d941 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 24 Jul 2023 14:48:14 +0200 Subject: readme --- Readme.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'Readme.md') diff --git a/Readme.md b/Readme.md index 996f14a..f8fe837 100644 --- a/Readme.md +++ b/Readme.md @@ -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 | -- cgit v1.2.3