Landwelle CI / Linux x64 container build and smoke test (push) Failing after 37s
Landwelle CI / JavaScript and deployment-script checks (push) Successful in 39s
Landwelle GitHub source ZIP / source-zip (push) Successful in 43s
Landwelle CI / Linux x64 production build (push) Successful in 1m4s
Landwelle CI / Go tests and vet (push) Successful in 2m36s
Synchronize validated production source; preserve admin highlights, seasons, cron fixes and media favorites. Remove obsolete Firebase, IT-app and Niedersachsen Hub regression tests, keeping current feature tests.
19 lines
1.1 KiB
Markdown
19 lines
1.1 KiB
Markdown
# KeyHelp: `api.landwelle.de`
|
|
|
|
**Stand:** Landwelle v1.5.79 (ohne Mobile-App und Firebase).
|
|
|
|
Die Subdomain ist optional und kann die öffentlich benötigte Web-API unter `/api/` an das Go-Portal weiterleiten. Android-/iOS- und IT-App-Endpunkte (`/v1/app/`, `/api/mobile/`) sind entfernt. Die Webseite selbst verwendet denselben Go-Dienst und braucht keine separate App-API.
|
|
|
|
Die verbindliche aktuelle Konfiguration steht in `deploy/keyhelp-api-subdomain-https.conf`. Bei KeyHelp werden die Apache-Regeln ausschließlich unter den **HTTPS-Anweisungen** der gewünschten Subdomain eingetragen; niemals alte `/api/mobile/`- oder `/v1/app/`-Proxyregeln wiederherstellen.
|
|
|
|
## Prüfung
|
|
|
|
```bash
|
|
curl -i http://127.0.0.1:2200/api/info
|
|
curl -i http://127.0.0.1:2200/api/v1/now
|
|
curl -i https://api.landwelle.de/api/v1/now
|
|
curl -i https://api.landwelle.de/health
|
|
```
|
|
|
|
Der öffentliche Reverse Proxy darf weder interne Adminrouten noch PostgreSQL bereitstellen. Firewall, HTTPS und `X-Forwarded-Proto` weiterhin kontrollieren. Auch ohne diese Subdomain sind die öffentlichen Web-Endpunkte unter `https://landwelle.de/api/…` erreichbar.
|