mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
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:
parent
24b1ab47ce
commit
5af62e1a08
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user