summaryrefslogtreecommitdiff
path: root/roles/rss-aggregator/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rss-aggregator/templates')
-rw-r--r--roles/rss-aggregator/templates/nginx/feed.conf4
-rw-r--r--roles/rss-aggregator/templates/rss-aggregator.toml3
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/rss-aggregator/templates/nginx/feed.conf b/roles/rss-aggregator/templates/nginx/feed.conf
new file mode 100644
index 0000000..6f650ba
--- /dev/null
+++ b/roles/rss-aggregator/templates/nginx/feed.conf
@@ -0,0 +1,4 @@
+location /feed {
+ root {{ http_files_dir }}/feed;
+ try_files $uri $uri.xml $uri.rss $uri.atom $uri.rss.xml $uri.html $uri/index.html $uri.php $uri/index.php =404;
+}
diff --git a/roles/rss-aggregator/templates/rss-aggregator.toml b/roles/rss-aggregator/templates/rss-aggregator.toml
new file mode 100644
index 0000000..22a8f72
--- /dev/null
+++ b/roles/rss-aggregator/templates/rss-aggregator.toml
@@ -0,0 +1,3 @@
+title = "Stuff that Joe Carstairs wants to read"
+description = "Stuff that Joe Carstairs wants to read"
+link = "https://joeac.net/{{ feed_rss_path }}"