diff options
author | Erich Eckner <git@eckner.net> | 2020-11-17 09:53:34 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-11-17 09:53:34 +0100 |
commit | ef8420d19c3c0dc4821af8625786b29fcf0bc447 (patch) | |
tree | cb2fb8b3634e3d52b66e29bf01caccfbbc70be94 | |
parent | 1ae40464331fe77c48e55537ca6abe6dc07d6f70 (diff) | |
download | arch-mirror-ef8420d19c3c0dc4821af8625786b29fcf0bc447.tar.xz |
arch-mirror.home.eckner.net.conf: really rewrite
-rw-r--r-- | arch-mirror.home.eckner.net.conf | 140 |
1 files changed, 112 insertions, 28 deletions
diff --git a/arch-mirror.home.eckner.net.conf b/arch-mirror.home.eckner.net.conf index 36bf52d..38f4926 100644 --- a/arch-mirror.home.eckner.net.conf +++ b/arch-mirror.home.eckner.net.conf @@ -183,7 +183,10 @@ server { location / { proxy_pass https://ftp.gwdg.de/pub/linux/archlinux$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -192,7 +195,10 @@ server { location / { proxy_pass https://mirror.f4st.host/archlinux$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -201,7 +207,10 @@ server { location / { proxy_pass https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -210,7 +219,10 @@ server { location / { proxy_pass https://mirror.pkgbuild.com$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -219,7 +231,10 @@ server { location / { proxy_pass https://mirror.archlinux32.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -228,7 +243,10 @@ server { location / { proxy_pass https://mirror.yandex.ru/archlinux32$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -237,7 +255,10 @@ server { location / { proxy_pass https://archlinux32.andreasbaumann.cc$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -246,7 +267,10 @@ server { location / { proxy_pass http://au.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -255,7 +279,10 @@ server { location / { proxy_pass http://br.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -264,7 +291,10 @@ server { location / { proxy_pass http://dk.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -273,7 +303,10 @@ server { location / { proxy_pass http://de3.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -282,7 +315,10 @@ server { location / { proxy_pass http://de.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -291,7 +327,10 @@ server { location / { proxy_pass http://de4.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -300,7 +339,10 @@ server { location / { proxy_pass http://eu.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -309,7 +351,10 @@ server { location / { proxy_pass http://de5.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -318,7 +363,10 @@ server { location / { proxy_pass http://gr.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -327,7 +375,10 @@ server { location / { proxy_pass http://hu.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -336,7 +387,10 @@ server { location / { proxy_pass http://pt.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -345,7 +399,10 @@ server { location / { proxy_pass http://sg.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -354,7 +411,10 @@ server { location / { proxy_pass http://za.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -363,7 +423,10 @@ server { location / { proxy_pass http://tw.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -372,7 +435,10 @@ server { location / { proxy_pass http://ca.us.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -381,7 +447,10 @@ server { location / { proxy_pass http://fl.us.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -390,7 +459,10 @@ server { location / { proxy_pass http://il.us.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -399,7 +471,10 @@ server { location / { proxy_pass http://nj.us.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -408,7 +483,10 @@ server { location / { proxy_pass http://vn.mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -417,7 +495,10 @@ server { location / { proxy_pass http://mirror.archlinuxarm.org$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } @@ -426,6 +507,9 @@ server { location / { proxy_pass https://arch.eckner.net$request_uri; proxy_intercept_errors on; - error_page 302 403 409 =404 /; + error_page 302 403 409 =404 /error.html; + } + location /error.html { + /srv/http; } } |