# Serve rspamd web UI: # https://www.rspamd.com/doc/faq.html#how-to-use-the-webui-behind-a-proxy-server Redirect "/rspamd/" ProxyPass http://127.0.0.1:11334/ ProxyPassReverse http://127.0.0.1:11334/ # Don't add X-Forwarded* headers to make rspamd think that request is coming # from localhost. This disables rspamd's password auth mechanism in favor of # FreedomBox authentication and authorization below. ProxyAddHeaders off # Require SSO Include includes/freedombox-single-sign-on.conf TKTAuthToken "admin" # Automatic configuration for clients like Thunderbird: # https://wiki.mozilla.org/Thunderbird:Autoconfiguration#Implementation RewriteEngine On RewriteRule ^ /plinth/apps/email/config.xml [PT]