Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/reference/network-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ The storage node exports `/mnt/main/csi-svc` over NFSv4 to the three svc nodes a
| `api.phorge.fr` | control | Phorge API (`/v1`, OpenAPI and Swagger UI only) | HAProxy, `traefik-public` 10.1.0.11 |
| `cap.phorge.fr` | core | Cap (captcha of the Authentik sign-in, only `/assets` and the site key are public) | HAProxy, `traefik-public` 10.2.0.11 |
| `git.phorge.fr` | svc | Forgejo | HAProxy, `traefik-public` 10.3.0.11 |
| `console.phorge.fr` | svc | Phorge console (the frontend, not deployed yet) | HAProxy, `traefik-public` 10.3.0.11 |
| `iaas.phorge.fr` | compute | Incus API and UI | HAProxy SNI routing to 10.10.0.1-3:8443 (rule `Allow Hproxy to Incus cluster API`, see [flows](#traffic-flows)) |
| `prometheus.core.phorge`, `loki.core.phorge`, `openfga.core.phorge` | core | Prometheus, Loki, OpenFGA | `traefik-local` 10.2.0.10, internal CA, basic auth |
| `crossview.control.phorge` | control | Crossview (Crossplane UI, authentik SSO) | `traefik-local` 10.1.0.10, internal CA |
Expand Down
5 changes: 5 additions & 0 deletions templates/haproxy.cfg.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ frontend http-dispatcher
acl host_git hdr(host) -i git.phorge.fr
http-request redirect scheme https code 301 if host_git

acl host_console hdr(host) -i console.phorge.fr
http-request redirect scheme https code 301 if host_console

default_backend http-control-ingress

frontend sni-dispatcher
Expand All @@ -102,4 +105,6 @@ frontend sni-dispatcher

use_backend https-svc-ingress if { req.ssl_sni -i git.phorge.fr }

use_backend https-svc-ingress if { req.ssl_sni -i console.phorge.fr }

default_backend https-control-ingress
Loading