summaryrefslogtreecommitdiff
path: root/arch-mirror.home.eckner.net.conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-11-17 09:26:02 +0100
committerErich Eckner <git@eckner.net>2020-11-17 09:26:02 +0100
commit1ae40464331fe77c48e55537ca6abe6dc07d6f70 (patch)
tree5d3524bd64351b34c11a272e47f05de0b3c5c7fb /arch-mirror.home.eckner.net.conf
parent80ca9cacef6646df471a863df87c354762bdaf02 (diff)
downloadarch-mirror-1ae40464331fe77c48e55537ca6abe6dc07d6f70.tar.xz
arch-mirror.home.eckner.net.conf: transform upstream http errors into 404
Diffstat (limited to 'arch-mirror.home.eckner.net.conf')
-rw-r--r--arch-mirror.home.eckner.net.conf56
1 files changed, 56 insertions, 0 deletions
diff --git a/arch-mirror.home.eckner.net.conf b/arch-mirror.home.eckner.net.conf
index 1efd00d..36bf52d 100644
--- a/arch-mirror.home.eckner.net.conf
+++ b/arch-mirror.home.eckner.net.conf
@@ -182,6 +182,8 @@ server {
listen 127.0.0.42:8001;
location / {
proxy_pass https://ftp.gwdg.de/pub/linux/archlinux$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -189,6 +191,8 @@ server {
listen 127.0.0.42:8002;
location / {
proxy_pass https://mirror.f4st.host/archlinux$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -196,6 +200,8 @@ server {
listen 127.0.0.42:8003;
location / {
proxy_pass https://ftp.spline.inf.fu-berlin.de/mirrors/archlinux$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -203,6 +209,8 @@ server {
listen 127.0.0.42:8004;
location / {
proxy_pass https://mirror.pkgbuild.com$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -210,6 +218,8 @@ server {
listen 127.0.0.43:8001;
location / {
proxy_pass https://mirror.archlinux32.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -217,6 +227,8 @@ server {
listen 127.0.0.43:8002;
location / {
proxy_pass https://mirror.yandex.ru/archlinux32$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -224,6 +236,8 @@ server {
listen 127.0.0.43:8003;
location / {
proxy_pass https://archlinux32.andreasbaumann.cc$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -231,6 +245,8 @@ server {
listen 127.0.0.44:8002;
location / {
proxy_pass http://au.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -238,6 +254,8 @@ server {
listen 127.0.0.44:8003;
location / {
proxy_pass http://br.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -245,6 +263,8 @@ server {
listen 127.0.0.44:8004;
location / {
proxy_pass http://dk.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -252,6 +272,8 @@ server {
listen 127.0.0.44:8005;
location / {
proxy_pass http://de3.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -259,6 +281,8 @@ server {
listen 127.0.0.44:8006;
location / {
proxy_pass http://de.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -266,6 +290,8 @@ server {
listen 127.0.0.44:8007;
location / {
proxy_pass http://de4.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -273,6 +299,8 @@ server {
listen 127.0.0.44:8008;
location / {
proxy_pass http://eu.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -280,6 +308,8 @@ server {
listen 127.0.0.44:8009;
location / {
proxy_pass http://de5.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -287,6 +317,8 @@ server {
listen 127.0.0.44:8010;
location / {
proxy_pass http://gr.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -294,6 +326,8 @@ server {
listen 127.0.0.44:8011;
location / {
proxy_pass http://hu.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -301,6 +335,8 @@ server {
listen 127.0.0.44:8012;
location / {
proxy_pass http://pt.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -308,6 +344,8 @@ server {
listen 127.0.0.44:8013;
location / {
proxy_pass http://sg.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -315,6 +353,8 @@ server {
listen 127.0.0.44:8014;
location / {
proxy_pass http://za.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -322,6 +362,8 @@ server {
listen 127.0.0.44:8015;
location / {
proxy_pass http://tw.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -329,6 +371,8 @@ server {
listen 127.0.0.44:8016;
location / {
proxy_pass http://ca.us.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -336,6 +380,8 @@ server {
listen 127.0.0.44:8017;
location / {
proxy_pass http://fl.us.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -343,6 +389,8 @@ server {
listen 127.0.0.44:8018;
location / {
proxy_pass http://il.us.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -350,6 +398,8 @@ server {
listen 127.0.0.44:8019;
location / {
proxy_pass http://nj.us.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -357,6 +407,8 @@ server {
listen 127.0.0.44:8020;
location / {
proxy_pass http://vn.mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -364,6 +416,8 @@ server {
listen 127.0.0.44:8001;
location / {
proxy_pass http://mirror.archlinuxarm.org$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}
@@ -371,5 +425,7 @@ server {
listen 127.0.0.45:8001;
location / {
proxy_pass https://arch.eckner.net$request_uri;
+ proxy_intercept_errors on;
+ error_page 302 403 409 =404 /;
}
}