doc: amend INSTALL instructions

change path for metadata archive files

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-04-29 09:59:34 +02:00
parent ad61c443f4
commit bab17a9d26
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296

View file

@ -30,9 +30,6 @@ read the instructions below.
ssl_certificate /etc/ssl/certs/aur.cert.pem; ssl_certificate /etc/ssl/certs/aur.cert.pem;
ssl_certificate_key /etc/ssl/private/aur.key.pem; ssl_certificate_key /etc/ssl/private/aur.key.pem;
# Asset root. This is used to match against gzip archives.
root /srv/http/aurweb/web/html;
# TU Bylaws redirect. # TU Bylaws redirect.
location = /trusted-user/TUbylaws.html { location = /trusted-user/TUbylaws.html {
return 301 https://tu-bylaws.aur.archlinux.org; return 301 https://tu-bylaws.aur.archlinux.org;
@ -62,6 +59,9 @@ read the instructions below.
# Static archive assets. # Static archive assets.
location ~ \.gz$ { location ~ \.gz$ {
# Asset root. This is used to match against gzip archives.
root /srv/http/aurweb/archives;
types { application/gzip text/plain } types { application/gzip text/plain }
default_type text/plain; default_type text/plain;
add_header Content-Encoding gzip; add_header Content-Encoding gzip;