diff options
Diffstat (limited to 'searx')
-rwxr-xr-x | searx/deploy | 2 | ||||
-rw-r--r-- | searx/searx/settings.yml | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/searx/deploy b/searx/deploy index d6d630f..7981ce0 100755 --- a/searx/deploy +++ b/searx/deploy @@ -37,6 +37,8 @@ sudo -H cp -rf nginx/ /etc/ sudo -H sed -i -e "s:YOURIP:$(hostname -I | cut -d" " -f1):g" /etc/nginx/sites-available/searx sudo -H ln -s /etc/nginx/sites-available/searx /etc/nginx/sites-enabled/searx sudo -H rm -rf /etc/nginx/sites-enabled/default +sed -i s:"$(grep access_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf +sed -i s:"$(grep error_log /etc/nginx/nginx.conf | awk '{print $2}' )":\/dev\/null:g /etc/nginx/nginx.conf # SSL sudo -H mkdir -p /usr/local/searx/searx-src/certs diff --git a/searx/searx/settings.yml b/searx/searx/settings.yml new file mode 100644 index 0000000..51abe72 --- /dev/null +++ b/searx/searx/settings.yml @@ -0,0 +1,35 @@ +use_default_settings: True + +general: + debug : False # Debug mode, only for development + instance_name : "searx, squirks and furks" # displayed name + +search: + safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict + autocomplete : "duckduckgo" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default + default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py' + +server: + port : 8888 + bind_address : "127.0.0.1" # address to listen on + secret_key : "" # change this! + base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" + image_proxy : False # Proxying image results through searx + +ui: + static_path : "" # Custom static path - leave it blank if you didn't change + templates_path : "" # Custom templates path - leave it blank if you didn't change + default_theme : oscar # ui theme + default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section + theme_args : + oscar_style : logicodev-dark # default style of oscar + categories_order : + - general + - files + - images + - videos + - science + - it + - map + - music + - news |