Skip to content

feat(host): add server_names to HostSite - #4

Merged
0xJacky merged 1 commit into
mainfrom
feat/host-site-server-names
Dec 5, 2026
Merged

0xJacky merged 1 commit into
mainfrom
feat/host-site-server-names

Conversation

@0xJacky

@0xJacky 0xJacky commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Adds repeated string server_names = 5 to HostSite, the result entry of host.sites.list. It holds the names of the server_name directives of the site, as written: wildcard names, regular expressions and _ are kept. Duplicates are removed, the order follows the configuration, and the field is never null. The change is additive, and make generate regenerated gen/go.

The host side is in the nginx-ui PR: 0xJacky/nginx-ui#2191 (0xJacky/nginx-ui#2191). nginx-ui keeps a byte-identical copy of the generated host.pb.go.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xJacky
0xJacky merged commit 1127acf into main Dec 5, 2026
1 check passed
@0xJacky
0xJacky deleted the feat/host-site-server-names branch December 5, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant