Sys-stk-front-base Role

Description: No description available

Variables

  • author: Kevin Veen-Birkenbach

  • description: Front bootstrap for web apps: HTTPS base, optional Cloudflare setup, and handler wiring.

  • license: Infinito.Nexus NonCommercial License

  • license_url: https://s.infinito.nexus/license

  • company: Kevin Veen-Birkenbach

Consulting & Coaching Solutions https://www.veen.world

README

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-cert if needed)

This role is intentionally small and reusable. It prepares the ground so app roles can just render their vHost.

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 domain to be provided by the consumer

Outputs

  • Handler wiring completed

  • HTTPS base ready (Nginx, ACME webroot)

  • Cloudflare prepared (optional)