Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1169

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Update README.md #1169

merged 1 commit into from
Sep 30, 2024

Conversation

aminsaedi
Copy link
Contributor

Added X-Forwarded-Host to the nginx reverse proxy options as it's used in the code (app/utils/misc.py - line 84)

If X-Forwarded-Host is not set and the app is running behind nginx on any ports other than 80/433, then the port number in the URL returned by get_proxy_host_url function will be ignored

I'm running the Whoogle behind nginx reverse proxy on port 2053, The images were not displayed for me because url of images was https://mydomain.com/element?... instead of https://mydomain.com:2053/element?.... After checking the code I was able to resolve it by adding proxy_set_header X-Forwarded-Host $http_host; to my nginx config file

@benbusby benbusby merged commit 79b6e9a into benbusby:main Sep 30, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants