refactor: consolidate property fetching for nginx plugin into golang codebase

Also update the documentation to include docs for all properties.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-06 00:42:48 -05:00
1 parent 6625846ecc
commit d4b445985b
14 files changed
+1448 -492

No files matched your search

+7 -1
View File
@@ -1,5 +1,5 @@
GOARCH ?= amd64
BUILD = pagesize
BUILD = pagesize nginx-property
PLUGIN_NAME = nginx-vhosts
clean-pagesize:
@@ -8,4 +8,10 @@ clean-pagesize:
pagesize: clean-pagesize **/**/pagesize.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o pagesize src/pagesize/pagesize.go
clean-nginx-property:
rm -rf nginx-property
nginx-property: clean-nginx-property **/**/nginx-property.go
GOARCH=$(GOARCH) go build -ldflags="-s -w" $(GO_ARGS) -o nginx-property src/nginx-property/nginx-property.go
include ../../common.mk