diff --git a/compose.yml b/compose.yml index 06fdb4aee..c89e5107c 100644 --- a/compose.yml +++ b/compose.yml @@ -1,5 +1,6 @@ services: searxng: + restart: always build: context: . dockerfile: Dockerfile @@ -13,7 +14,7 @@ services: LABEL_VCS_REF: "" LABEL_VCS_URL: "" volumes: - - /etc/searxng + - ./searx:/etc/searxng ports: - "127.0.0.1:8088:8080" environment: diff --git a/searx/settings.yml b/searx/settings.yml index 23092b800..c94987c12 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -77,6 +77,10 @@ search: # formats: [html, csv, json, rss] formats: - html + - csv + - json + - rss + server: # Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS} @@ -95,14 +99,14 @@ server: # If your instance owns a /etc/searxng/settings.yml file, then set the following # values there. - secret_key: "ultrasecretkey" # Is overwritten by ${SEARXNG_SECRET} + secret_key: "ya-hotchu-sto-gram-searxng" # Is overwritten by ${SEARXNG_SECRET} Hehe, greetings retoor! # Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY} image_proxy: false # 1.0 and 1.1 are supported http_protocol_version: "1.0" # POST queries are more secure as they don't show up in history but may cause # problems when using Firefox containers - method: "POST" + method: "GET" default_http_headers: X-Content-Type-Options: nosniff X-Download-Options: noopen diff --git a/utils/templates/etc/apache2 b/utils/templates/etc/apache2 deleted file mode 120000 index 558a90717..000000000 --- a/utils/templates/etc/apache2 +++ /dev/null @@ -1 +0,0 @@ -httpd \ No newline at end of file