diff options
author | Mike Gerwitz <mtg@gnu.org> | 2019-02-21 21:50:18 -0500 |
---|---|---|
committer | Mike Gerwitz <mtg@gnu.org> | 2019-02-21 22:01:26 -0500 |
commit | f1497409c5f49f6aa74c3bbe207bce9cef053909 (patch) | |
tree | db6634d374b3d65b302fcf1c6d2a657c6cc945b3 /conf | |
parent | f16c0f0f0e3dbb5d14f5b88d765886b23e3d55a7 (diff) | |
download | thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.tar.gz thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.tar.bz2 thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.zip |
rss: Fix header link and redirect broken links
I noticed a lot of odd `/rss.xml' requests in my 404 log. As it turns out,
it was my fault. This both fixes it and adds a redirect in case someone
tries to do this manually. I suppose that'd be convenient.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/lighttpd.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/lighttpd.conf b/conf/lighttpd.conf index df2f7e5..c66e7da 100644 --- a/conf/lighttpd.conf +++ b/conf/lighttpd.conf @@ -23,6 +23,7 @@ $HTTP["scheme"] == "https" { "^/2[0-9]{3}/[0-9]+/[0-9]+/(.*)$" => "/$1", "^/papers/git-horror-story" => "/2012/05/a-git-horror-story-repository-integrity-with-signed-commits", "^/thoughts(/.*)?$" => "/$1", + "./rss(\.xml)?$" => "/rss", # trailing RSS requests "^/feed/?" => "/rss", "^/resume/?" => "/about/resume", "^/hoxsl$" => "/hoxsl/", |