searx.conf:uwsgi 594 B

123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8; mode: apache -*-
  2. <IfModule mod_uwsgi.c>
  3. # SetEnvIf Request_URI "${SEARX_URL_PATH}" dontlog
  4. # CustomLog /dev/null combined env=dontlog
  5. <Location ${SEARX_URL_PATH}>
  6. <IfModule mod_security2.c>
  7. SecRuleEngine Off
  8. </IfModule>
  9. Require all granted
  10. Options FollowSymLinks Indexes
  11. SetHandler uwsgi-handler
  12. uWSGISocket ${SEARX_UWSGI_SOCKET}
  13. Order deny,allow
  14. Deny from all
  15. # Allow from fd00::/8 192.168.0.0/16 fe80::/10 127.0.0.0/8 ::1
  16. Allow from all
  17. </Location>
  18. </IfModule>