1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Build and Nginx changes for TTRSS

This commit is contained in:
J. King 2017-10-30 14:50:31 -04:00
parent 579551f5fd
commit f543f084c1
2 changed files with 18 additions and 0 deletions

View file

@ -8,6 +8,7 @@
<include name="sql/**"/>
<include name="locale/**"/>
<include name="dist/**"/>
<include name="www/**"/>
<include name="composer.*"/>
<include name="arsse.php"/>
<include name="CHANGELOG"/>

17
dist/nginx.conf vendored
View file

@ -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;
}
}