mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-24 22:45:56 +03:00
[GH-ISSUE #1065] [Docs] Reverese Proxy #740
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#740
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 @NiklasVousten on GitHub (Sep 22, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1065
Originally assigned to: @NiklasVousten on GitHub.
I think it would be best to add a section about reverse proxy to the self hosted docs.
Especially if this is a problem for multiple People and a reoccurring issue
@cuu508 commented on GitHub (Sep 23, 2024):
Hello @NiklasVousten,
The Running with Docker page and also /docker/README.md has section "TLS Termination", is it along the lines of what you are looking for?
@lmaddox commented on GitHub (Sep 24, 2024):
healthchecks is giving me 404s. nginx is configured to forward /healthchecks to 192...:8000. It looks like healthchecks doesn't properly honor the SITE_ROOT (https://external.com/healthchecks). Not seeing a base url option.
@cuu508 commented on GitHub (Sep 24, 2024):
@lmaddox that sounds like separate issue from the HTTP/HTTPS confusion here. Please start a new discussion and share your full configuration.
@NiklasVousten commented on GitHub (Sep 24, 2024):
I think it would be helpful to have a new page with a list of short basic reverse proxy configs. This can help to reduce errors and issues with wrong configured proxys
@cuu508 commented on GitHub (Sep 24, 2024):
Perhaps. Would you be willing to contribute a new page with, let's say, nginx, haproxy and caddy examples?
@NiklasVousten commented on GitHub (Sep 29, 2024):
Started working on this. The only issue for me is, that I have no experience with caddy and haproxy
@denis-ev commented on GitHub (Oct 16, 2024):
@NiklasVousten
this is all Caddy v2 needs in the Caddyfile, if it has a public ip it'll even do letsencrypt.
@loqster commented on GitHub (Dec 3, 2024):
With the current Docker images.
reverse_proxy : in the Caddyfile was not enough.
Regardless of any X-Forwarded headers set.
Which Caddy v2 does automatically anyway.
To make the Caddy reverse proxy work with healthchecks I had to force the 'origin' header
Like so:
Without the above there were constant CSRF issues.
@jl-678 commented on GitHub (Apr 6, 2025):
Hi, I just wanted to come here a few months later to say that I was seeing the same CSRF issues and this origin header fix works perfectly. Thank you!
@hartwork commented on GitHub (Apr 17, 2025):
I made https://github.com/hartwork/docker-ssl-reverse-proxy to ease use of Caddy as a reverse proxy with cocker-compose projects for myself a bit, use it in front of multiple domains, and consider it fairly easy to use. If you have trouble getting it to run after reading the readme, please create issues at https://github.com/hartwork/docker-ssl-reverse-proxy/issues (so we do not spam everyone here). Thanks!