ttrss: Make tt-rss api accessible using Apache basic auth

Partially fixes #958

The user still has to enable API access from Preferences in the tt-rss app.
Ideally, this should be automated, but this setting wasn't trivial to find. Will
try to automate this in a future pull request.

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalpati 2017-10-09 19:19:06 +05:30 committed by Sunil Mohan Adapa
parent 24b1ab47ce
commit 5af62e1a08
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -3,7 +3,14 @@
## Allow all valid LDAP users.
##
Alias /tt-rss /usr/share/tt-rss/www
Alias /tt-rss-api /usr/share/tt-rss/www
<Location /tt-rss>
Include includes/freedombox-single-sign-on.conf
</Location>
<Location /tt-rss-api>
Include includes/freedombox-auth-ldap.conf
Require valid-user
# TODO Restrict access to `news` group
</Location>