summaryrefslogtreecommitdiff
path: root/roles/rss-aggregator/templates
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-09-06 20:38:04 +0100
committerJoe Carstairs <me@joeac.net>2026-09-07 08:46:52 +0100
commite79b1a8b6a2f0e892b56ee2d00ea1b9d56ab4083 (patch)
tree60973819688f506dbe4b00da3d2de39822213d4c /roles/rss-aggregator/templates
parentcec15f231bfcd9a6c55fbffcb7d297a36f75211d (diff)
add rss-aggregatorHEADmain
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 }}"