mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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:
parent
34699d9040
commit
c03f92a407
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user