Skip to content

nginx: add /api proxy and update docs - #17

Merged
Abasy714 merged 2 commits into
mainfrom
monitoring
May 2, 2026
Merged

Abasy714 merged 2 commits into
mainfrom
monitoring

Conversation

@Abasy714

@Abasy714 Abasy714 commented May 2, 2026

Copy link
Copy Markdown
Collaborator

Rework Nginx docs and adjust vhost configs: README.md reorganized to clearly separate frontend (rythmify.duckdns.org) and backend (rythmify-back.duckdns.org) responsibilities, add prerequisites, GeoIP2 setup, deployment steps, and automation notes. nginx/rythmify-back.duckdns.org.conf: add explicit /api/ location that mirrors the catch-all proxy but preserves WebSocket upgrade headers, injects X-Country-Code, and bypasses proxy cache for upgrades; clarify /health comment; change internal nginx_status server to allow all (safe because it binds to Docker bridge). nginx/rythmify.duckdns.org.conf: simplify to static React SPA serving from /var/www/rythmify with HTTP→HTTPS redirect, remove backend proxy blocks (API, sockets, Grafana) since API traffic is served via the backend domain. Minor formatting/clarity tweaks throughout.

Rework Nginx docs and adjust vhost configs: README.md reorganized to clearly separate frontend (rythmify.duckdns.org) and backend (rythmify-back.duckdns.org) responsibilities, add prerequisites, GeoIP2 setup, deployment steps, and automation notes. nginx/rythmify-back.duckdns.org.conf: add explicit /api/ location that mirrors the catch-all proxy but preserves WebSocket upgrade headers, injects X-Country-Code, and bypasses proxy cache for upgrades; clarify /health comment; change internal nginx_status server to allow all (safe because it binds to Docker bridge). nginx/rythmify.duckdns.org.conf: simplify to static React SPA serving from /var/www/rythmify with HTTP→HTTPS redirect, remove backend proxy blocks (API, sockets, Grafana) since API traffic is served via the backend domain. Minor formatting/clarity tweaks throughout.
@Abasy714
Abasy714 requested a review from a team as a code owner May 2, 2026 23:14
@Abasy714
Abasy714 merged commit 2a0b5fd into main May 2, 2026
2 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