searx.conf:filtron 526 B

1234567891011121314151617
  1. # https://example.org/searx
  2. location ${SEARX_URL_PATH} {
  3. proxy_pass http://127.0.0.1:4004/;
  4. proxy_set_header Host \$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. }