searx.conf:filtron 529 B

12345678910111213141516
  1. # https://example.org/searx
  2. location ${SEARX_URL_PATH} {
  3. proxy_pass http://127.0.0.1:4004/;
  4. proxy_set_header Host \$http_host;
  5. proxy_set_header Connection \$http_connection;
  6. proxy_set_header X-Real-IP \$remote_addr;
  7. proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
  8. proxy_set_header X-Scheme \$scheme;
  9. proxy_set_header X-Script-Name ${SEARX_URL_PATH};
  10. }
  11. location ${SEARX_URL_PATH}/static {
  12. alias ${SEARX_SRC}/searx/static;
  13. }