whoogle-search: [BUG] images and videos broken

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Install via docker
  2. Install apache on host os
  3. Set up a subdomain redirect (search.example.com) using a “proxy” to interact with the docker container
  4. Search images

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version [version number]
  • Not sure

Desktop (please complete the following information):

  • OS: Win11 and iOS
  • Browser Firefox and webkit
  • Version latest

Additional context Images, when opening in new tab, redirect to localhost and not the image location

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Then it’s probably something with your nginx config: try only

 proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $host;
                proxy_set_header X-NginX-Proxy true;

But with ip:port, does it work as expected?