From 0096154bddbb433f5acad90d2e625c40cc825b96 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sat, 15 Jul 2023 13:37:53 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20documentation=20for?= =?UTF-8?q?=20the=20new=20config=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- websurfx/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/websurfx/config.lua b/websurfx/config.lua index 467b792..26ab979 100644 --- a/websurfx/config.lua +++ b/websurfx/config.lua @@ -5,7 +5,7 @@ debug = false -- an option to enable or disable debug mode. -- ### Server ### port = "8080" -- port on which server should be launched binding_ip_addr = "127.0.0.1" --ip address on the which server should be launched. -production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users) +production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users (more than one)) -- if production_use is set to true -- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests. @@ -28,4 +28,4 @@ theme = "simple" -- the theme name which should be used for the website redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on. -- ### Search Engines ### -upstream_search_engines = { DuckDuckGo = true, Searx = false } +upstream_search_engines = { DuckDuckGo = true, Searx = false } -- select the upstream search engines from which the results should be fetched.