mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
minidlna: Do not expose statistics over public web
Tested that after this change, only admins can see the MiniDLNA statistics page https://<freedombox>/_minidlna/ over the web. Everybody can still see the page on local network using an address http://<freedombox>:8200/ MiniDLNA web page shows how many media files are served and some information (IP, MAC address) about the connected clients. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
b1f2c6e446
commit
b9fe3fb491
1 file changed
+6
@@ -1,3 +1,9 @@
|
||||
<Location /_minidlna/>
|
||||
Include includes/freedombox-single-sign-on.conf
|
||||
|
||||
<IfModule mod_auth_pubtkt.c>
|
||||
TKTAuthToken "admin"
|
||||
</IfModule>
|
||||
|
||||
ProxyPass http://localhost:8200/
|
||||
</Location>
|
||||
Reference in new issue
Block a user