summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorMohamad Safadieh <me@msafadieh.com>2020-08-09 16:57:31 -0400
committerMohamad Safadieh <me@msafadieh.com>2020-08-09 17:04:47 -0400
commit8dff74dd1b9f63b6e300991211582157b34ee328 (patch)
tree4241f73a7bfcbfa0cfc3d04e7727f728ff80679d /searx/settings.yml
parentf3bfc19a557ef121d370033de6325df2ca835dcd (diff)
downloadsearxng-8dff74dd1b9f63b6e300991211582157b34ee328.tar.gz
searxng-8dff74dd1b9f63b6e300991211582157b34ee328.zip
Make default query submission method configurable
Sending queries through POST, while better for privacy, breaks functionality with certain extensions (e.g. Firefox containers). Since Firefox does not send cookies when requesting `/opensearch.xml`, users cannot easily switch to GET on the client side unless they make a custom search engine. This commit allows admins to modify the default method on their side so they can set it to GET if needed.
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 63685be8b..68fd0ee6f 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -16,6 +16,7 @@ server:
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
image_proxy : False # Proxying image results through searx
http_protocol_version : "1.0" # 1.0 and 1.1 are supported
+ method: "POST" # POST queries are more secure as they don't show up in history but may cause problems when using Firefox containers
ui:
static_path : "" # Custom static path - leave it blank if you didn't change