Front Base (HTTPS + Cloudflare + Handlers)ΒΆ
DescriptionΒΆ
sys-stk-front-base bootstraps the front layer that most web-facing apps need:
Ensures the HTTPS base via
sys-svc-webserver-https(Optional) Cloudflare bootstrap (zone lookup, dev mode, purge)
Wires OpenResty/NGINX handlers
Leaves per-domain certificate issuance to consumer roles (or pass-through vars to
sys-util-csp-certif needed)
This role is intentionally small and reusable. It prepares the ground so app roles can just render their vHost.
OverviewΒΆ
This role front bootstrap for web apps: HTTPS base, optional Cloudflare setup, and handler wiring.
CosmosΒΆ
The diagram places Front Base (HTTPS + Cloudflare + Handlers) in the Infinito.Nexus cosmos: the components it deploys (capabilities), the central services it consumes (dependencies), and its outward reach (federation and bridged external networks).
flowchart LR
subgraph role [sys-stk-front-base π»]
svc_front_base["front-base"]
end
Solid 1:1 edges are fixed relationships; dashed 0..1 edges are conditional (enabled only in matching deployments); red 0..0 edges are turned off in this role. Node markers show the roleβs deploy modes (π» host, π³ compose, π swarm); β marks a service that is explicitly turned off, and βοΈ an Ansible role dependency declared in meta/main.yml.
FeaturesΒΆ
Automated provisioning: Configured by Ansible without manual steps.
ResponsibilitiesΒΆ
Include
sys-svc-webserver-https(once per host)Include Cloudflare tasks when
DNS_PROVIDER == "cloudflare"Load handler utilities (e.g.,
svc-prx-openresty)Stay domain-agnostic: expect
domainto be provided by the consumer
OutputsΒΆ
Handler wiring completed
HTTPS base ready (NGINX, ACME webroot)
Cloudflare prepared (optional)
CreditsΒΆ
Implemented by Kevin Veen-Birkenbach. Part of the Infinito.Nexus Project and maintained by Kevin Veen-Birkenbach. Licensed under the Infinito.Nexus Community License (Non-Commercial).