SearXNG

ユーザーの追跡やプロファイリングを行わずに検索結果をまとめて表示する、無料のメタ検索エンジンです。

Accessing SearXNG

  • ブラウザを開いて、次のURLにアクセスしてください: https://<SERVER_IP>/searxng
  • ブラウザからSSL警告が表示される可能性があります(自己署名証明書)
  • Authentication is required (Basic Auth popup)
  • Authentication method: HTTP Basic Auth
  • Credentials are stored securely in: /root/.cloudzy-creds

重要な経路

  • インストール先ディレクトリ: /root/searxng
  • Docker Compose ファイル: /root/searxng/docker-compose.yml
  • Env file: /root/searxng/.env
  • Core configuration: /root/searxng/core-config/
  • Nginx vhost: /etc/nginx/sites-available/searxng
  • Auth file: /etc/nginx/auth/searxng.htpasswd
  • TLS certificates: /etc/nginx/ssl/

ドメインでのSSLの有効化

1. ドメインをサーバーのIPアドレスに設定してください。

2. Nginx設定を編集し、両方を置換する server_name <IP>; あなたのドメインで (<your-domain>HTTP(ポート80)およびHTTPS(ポート443)ブロックの両方に対して:

vim /etc/nginx/sites-available/searxng

3. Certbot のインストール:

apt install -y certbot python3-certbot-nginx

4. 有効な Let’s Encrypt 証明書を生成するには、次のコマンドを実行します:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Nginx設定ファイル内のSSLパスを置換する:

vim /etc/nginx/sites-available/searxng
# Before:
    # ssl_certificate       /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key   /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate       /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key   /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. 変更を適用するために Nginx を再起動します:

systemctl restart nginx

7. ブラウザを開き、次のURLにアクセスしてください: https://yourdomain.com

注記

  • Customize SearXNG settings in /root/searxng/core-config/.
  • SearXNG listens on 127.0.0.1:8080 internally.
  • Nginx serves /searxng publicly with Basic Auth.
  • Docker volumes persist core data and Valkey cache.

申請内容