mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #725] [QUESTION] How to enable HTTPS #466
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ASNosal on GitHub (Apr 15, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/725
I have followed the directions in the readme, and acquired certificates for my domain with certbot. However, I cannot seem to get the whoogle server to pull the certs and serve https. It remains accessible through HTTP, but HTTPS always fails. I am using docker-compose to run the sever.
Is there something I need to change in the .env, or yml to call out where the certs should be located? What am I missing here?
@BluishHumility commented on GitHub (Apr 20, 2022):
I've been stumped on the exact same issue. I was able to get the certbot certification set up just fine, but I can't figure out how to get the docker-compose to incorporate it into the Whoogle deployment. Whoogle has been working fine over HTTP, but HTTPS fails.
I can connect to the instance externally by IP address only because my DDNS service only supports HTTPS. I am hoping for a clue how to get it correctly configured so I can use the DDNS domain for Whoogle.
@nakoo commented on GitHub (Apr 30, 2022):
If you want to use HTTPS, you must use reverse proxy like nginx.
@benbusby commented on GitHub (May 16, 2022):
^ correct. If you want to serve your Whoogle instance over HTTPS, you'll need to use something like nginx to handle that for you. If you used certbot, it should look something like this:
Note that certbot actually handles a lot of these details for you if you tell it to. If you have your nginx server config defined (the above config without anything annotated with
# managed by Certbot) then running something likesudo certbot --nginx -d <your domain>should fill out the rest for you.