searx.conf:filtron 660 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8; mode: apache -*-
  2. ProxyPreserveHost On
  3. <Location ${FILTRON_URL_PATH} >
  4. Require all granted
  5. Order deny,allow
  6. Deny from all
  7. #Allow from fd00::/8 192.168.0.0/16 fe80::/10 127.0.0.0/8 ::1
  8. Allow from all
  9. ProxyPass http://${FILTRON_LISTEN}
  10. RequestHeader set X-Script-Name ${FILTRON_URL_PATH}
  11. # In Apache it seems, that setting HTTP_HOST header direct here does have no
  12. # effect. I needed to set 'ProxyPreserveHost On' (see above). HTTP_HOST is
  13. # needed by searx to render correct *Search URL* in the *Link* box and
  14. # *saved preference*.
  15. # RequestHeader set Host ${PUBLIC_HOST}
  16. </Location>