From a656368323e7e5713c10f605f810c3134b9da346 Mon Sep 17 00:00:00 2001 From: adb-sh Date: Sun, 30 Apr 2023 01:18:43 +0200 Subject: [PATCH] add redirects --- nginx.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nginx.conf b/nginx.conf index 81b6b59..899e19f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -91,4 +91,22 @@ http { return 302 https://adb.sh/me/; } } + + server { + listen 8080; + server_name alban.world; + + location / { + return 302 https://adb.sh/; + } + } + + server { + listen 8080; + server_name albans.world; + + location / { + return 302 https://adb.sh/; + } + } }