feat(webserver-config): registry-driven vhost / htaccess / nginx generator - #17
Merged
Conversation
ralflang
force-pushed
the
feat/webserver-config
branch
from
July 8, 2026 17:13
f09a4d1 to
1492161
Compare
…e registry and stdin tiers
… vhost config Use the new hordectl webserver-config command to create a webserver vhost config instead of a test fixture. Smoke test generating the vhost config from live-registry and --default-url switch as an override. We want to use an absolute URL here.
ralflang
force-pushed
the
feat/webserver-config
branch
from
July 8, 2026 17:28
ae19bf2 to
d1d62fb
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New
hordectl webserver-configtop-level subcommand that emits webserver configuration derived from a Horde registry. Three flavors:htaccess,apache-vhost,nginx. Every emitted file carries Prerequisites/Limitations headers and a tier-aware README explains how to reproduce.Two-tier output layout:
sites/*.confis drop-in-ready for the distro's sweep directory (sites-available/,vhosts.d/,conf.d/);horde-includes/{apps,tls,local}/is a support tree copied under Apache ServerRoot or nginx prefix (--apache-serverroot=,--nginx-prefix=). Absolute include paths keep the config portable across Debian/Ubuntu, SUSE and RHEL/Fedora.Three input tiers:
hordectl query registryon the current target (default), stdin YAML (--registry-in=-consumesquery registryoutput verbatim), or vanilla-layout synthesis (--default-url=<url>+--root-bundle-path=<path>+ optional--app-webroots=id|url,...). First available wins.Provenance section of the generated README shows the exact reproducer for whichever tier ran.
CI
This PR amends the CI and replaces the hardcoded (and incomplete) vhost definition with one generated by hordectl itself. The CI now demonstrates a minimum functioning automated install of horde/base including database and admin API.