settings_general.rst 887 B

1234567891011121314151617181920212223242526272829303132333435
  1. .. _settings general:
  2. ============
  3. ``general:``
  4. ============
  5. .. code:: yaml
  6. general:
  7. debug: false
  8. instance_name: "SearXNG"
  9. privacypolicy_url: false
  10. donation_url: false
  11. contact_url: false
  12. enable_metrics: true
  13. ``debug`` : ``$SEARXNG_DEBUG``
  14. Allow a more detailed log if you run SearXNG directly. Display *detailed* error
  15. messages in the browser too, so this must be deactivated in production.
  16. ``donation_url`` :
  17. Set value to ``true`` to use your own donation page written in the
  18. :ref:`searx/info/en/donate.md <searx.infopage>` and use ``false`` to disable
  19. the donation link altogether.
  20. ``privacypolicy_url``:
  21. Link to privacy policy.
  22. ``contact_url``:
  23. Contact ``mailto:`` address or WEB form.
  24. ``enable_metrics``:
  25. Enabled by default. Record various anonymous metrics available at ``/stats``,
  26. ``/stats/errors`` and ``/preferences``.