From f543f084c1cb440af3d8d3aa6954b5fd32142acd Mon Sep 17 00:00:00 2001 From: "J. King" Date: Mon, 30 Oct 2017 14:50:31 -0400 Subject: [PATCH] Build and Nginx changes for TTRSS --- build.xml | 1 + dist/nginx.conf | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/build.xml b/build.xml index 32f5a6cc..a2912bdb 100644 --- a/build.xml +++ b/build.xml @@ -8,6 +8,7 @@ + diff --git a/dist/nginx.conf b/dist/nginx.conf index 160eec93..94cff1cc 100644 --- a/dist/nginx.conf +++ b/dist/nginx.conf @@ -23,6 +23,7 @@ server { include /usr/share/arsse/dist/nginx-fcgi.conf; } + # NextCloud News protocol location /index.php/apps/news/api { try_files $uri @arsse_auth; @@ -30,4 +31,20 @@ server { try_files $uri @arsse_no_auth; } } + + # Tiny Tiny RSS protocol + location /tt-rss/api { + try_files $uri @arsse_no_auth; + } + + # Tiny Tiny RSS feed icons + location /tt-rss/feed-icons/ { + try_files $uri @arsse_no_auth; + } + + # Tiny Tiny RSS special-feed icons + location /tt-rss/images/ { + root /usr/share/arsse/www; + try_files $uri; + } } \ No newline at end of file