mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
doc: amend INSTALL instructions
change path for metadata archive files Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
ad61c443f4
commit
bab17a9d26
1 changed files with 3 additions and 3 deletions
6
INSTALL
6
INSTALL
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue