Skip to content

Commit 0dc69d2

Browse files
committed
rewrite /rss.xml -> /index.xml
1 parent 2a8e414 commit 0dc69d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sites-enabled/default

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ server {
88

99

1010
location / {
11-
11+
12+
# hugo has moved the location for rss feeds, and it isn't
13+
# configurable so we redirect the old location.
14+
rewrite ^/rss.xml /index.xml permanent;
1215

1316
rewrite ^/day-01-go-1.2 /advent-2013/day-01-go-1.2;
1417
rewrite ^/day-02-go-1.2-performance-improvements /advent-2013/day-02-go-1.2-performance-improvements;

0 commit comments

Comments
 (0)