From 893d8047e1643fbb3ce686a202e55ac8cfae8e2e Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 4 Apr 2024 18:13:34 +0200 Subject: [PATCH] fix: ngnix configuration --- nginx.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nginx.conf b/nginx.conf index 51af09d..0f6698f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -23,15 +23,6 @@ server { add_header cache-control "max-age=0, no-cache, no-store, must-revalidate"; } - # Redirect domain aliases to primary domain - if ($host = 'www.imhoff.name') { - return 301 https://www.stefanimhoff.de$request_uri; - } - - if ($host = 'imhoff.name') { - return 301 https://www.stefanimhoff.de$request_uri; - } - # Redirects rewrite ^/feed-raindrop.xml$ https://bg.raindrop.io/rss/public/25041238 permanent; rewrite ^/index.xml$ /rss.xml permanent;