Private HTTP and Nginx examples
Render a loopback proxy example before applying changes.
Use this only when your deployment needs a loopback proxy for compatible private HTTP access. The full website setup guide includes a Nginx configuration example and a rendering script; the Android app does not install Nginx or apply that configuration.
The helper renders configuration without changing the server by default. Review the loopback listen port, upstream host and port, client base path and upstream base path. The explicit --apply option installs, validates and reloads Nginx, so use it only in your own approved administrator workflow.
The listener must remain restricted to server loopback. Configure trusted proxy headers, Keycloak hostname behavior and paths for your actual deployment. A template cannot establish these facts for every container, proxy and Keycloak version.
Keep backups and an independent management connection. Do not publish the loopback listener, weaken TLS verification, or modify unrelated sites to work around a console error.