• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cybertec-postgresql / pgwatch / 19888319322 / 1
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2025 09:12AM UTC
Files 42
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2025 09:06AM UTC coverage: 73.615% (-0.03%) from 73.648%
19888319322.1

push

github

web-flow
[+] add support for reverse proxies on a different path, closes #1049 (#1063)

* add support for reverse proxies on a different path, closes #1049

Users can now configure pgwatch to run under a custom path
(e.g., http::/example.com/pgwatch) when behind a reverse proxy like
Apache or Nginx.

- add `--web-base-path` flag to specify custom path prefix
- all API endpoints and static assets respect the configured base path
- inject `<base>` tag and React Router `basename` dynamically at runtime
- set `homepage: "."` in `package.json` for relative asset paths

Example usage:
  pgwatch --web-base-path=pgwatch --web-addr=:8080

Then configure reverse proxy to forward `/pgwatch/*` to
`localhost:8080/pgwatch/*`

* Put the WebSocket config into the example config

The WebSocket proxy needs to come before the general proxy.

* The config is no longer "above"

* Build frontend to `/webserver/build` and use `//go:embed` directly
in `webserver.go`

* make linter happy and remove webui go package

* fix "Download webui artifact" step

---------

Co-authored-by: Christoph Berg <myon@debian.org>
Co-authored-by: Denys Holub <holub.denys20@gmail.com>

3694 of 5018 relevant lines covered (73.61%)

0.84 hits per line

Source Files on job 19888319322.1
  • Tree
  • List 42
  • Changed 6
  • Source Changed 6
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19888319322
  • 03d4c7df on github
  • Prev Job for on master (#19859656383.1)
  • Next Job for on master (#19888558940.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc