searx: Rewrite url from /searx to /searx/

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2018-03-15 11:38:25 +05:30 committed by James Valleroy
parent 34699d9040
commit c03f92a407
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -7,6 +7,16 @@
</LocationMatch>
# Redirect /searx to /searx/
<Location /searx>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/searx$
RewriteRule .* /searx/ [R=301,L]
</IfModule>
</Location>
<Location /searx/>
Include includes/freedombox-single-sign-on.conf