aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-24 14:48:14 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-24 14:48:14 +0200
commitb6467bd88b698732093578fa52dbd328bfd1d941 (patch)
tree9b773b51ed34c519f724e0e79eec4eb695ba26e5
parent06918b26a03bd51da02daba6fd64a65ace76f0df (diff)
downloadaurbuilder-b6467bd88b698732093578fa52dbd328bfd1d941.tar.gz
readme
-rw-r--r--Readme.md24
1 files changed, 23 insertions, 1 deletions
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 |