summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-02 08:29:49 +0100
committerJoe Carstairs <me@joeac.net>2026-07-02 08:29:49 +0100
commitc736041f3cf09490db5a5c9341958b6a7435196c (patch)
tree93dafab93fcafb72346b991da8f9a53b2a218959
parent8a5ad04776a8521cec7f46dff723341ed1c8eddb (diff)
adds uninstall_nginx_module rule content
-rw-r--r--make/nginx.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/nginx.mk b/make/nginx.mk
index d13b8b3..85a7be4 100644
--- a/make/nginx.mk
+++ b/make/nginx.mk
@@ -11,6 +11,7 @@ endef
define uninstall_nginx_module_rule =
.PHONY: uninstall_nginx_$(module)
uninstall_nginx_$(module):
+ (if $(SUBDOMAIN_$(module)),rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf)
endef
$(foreach module,$(MODULES),$(eval $(install_nginx_module_rule)))