mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Install mod_auth_pubtkt and generate public/private key-pair. - Redirect user to login page if no cookie is presented. - Add check for authenticated user for login page. - Temporarily switched to DSA because of a bug in mod_auth_pubtkt which causes it to accept only DSA and not RSA. Also had to use SHA1 instead of SHA256. - Enabled SSO for Syncthing, Repro and TT-RSS. - Using tokens to authorize by user groups. - Generate keys during first boot.
22 lines
508 B
Plaintext
22 lines
508 B
Plaintext
##
|
|
## On all sites, provide syncthing web interface on a path: /syncthing
|
|
##
|
|
|
|
# Redirect /syncthing to /syncthing/ as the Syncthing server does not
|
|
# work without a slash at the end.
|
|
|
|
|
|
<Location /syncthing>
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_URI} ^/syncthing$
|
|
RewriteRule .* /syncthing/ [R=301,L]
|
|
</IfModule>
|
|
</Location>
|
|
|
|
|
|
<Location /syncthing/>
|
|
Include includes/freedombox-single-sign-on.conf
|
|
ProxyPass http://localhost:8384/
|
|
</Location>
|