diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-01 18:11:08 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-01 18:11:08 +0100 |
| commit | c0e6d13a1f3e47aba9d65f605ffeb8365abfda36 (patch) | |
| tree | 179bcd0ea1791f3c85955ac1cf87ac3346c28925 /nginx_module.mk | |
| parent | 2b00e0399973178ec06b5e43673c0345a6a2895a (diff) | |
moves stuff to nginx.mk
Diffstat (limited to 'nginx_module.mk')
| -rw-r--r-- | nginx_module.mk | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/nginx_module.mk b/nginx_module.mk deleted file mode 100644 index 949421d..0000000 --- a/nginx_module.mk +++ /dev/null @@ -1,24 +0,0 @@ -define install_nginx_module_rule = -.PHONY: install_nginx_module_rule -install_nginx_module_rule: $(if $(SUBDOMAIN_$(module)),/etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf) -endef - -define reinstall_nginx_module_rule = -.PHONY: reinstall_nginx_module_rule -reinstall_nginx_module_rule: $(if $(SUBDOMAIN_$(module)),/etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf) -endef - -define uninstall_nginx_module_rule = -.PHONY: uninstall_nginx_module_rule -uninstall_nginx_module_rule: - $(if $(SUBDOMAIN_$(module)),rm -f /etc/nginx/http.d/$(SUBDOMAIN_$(module)).joeac.net.conf) -endef - -$(foreach module,$(MODULES),$(eval $(install_nginx_module_rule))) - -/etc/nginx/http.d/%.joeac.net.conf: nginx/http.d/%.joeac.net.conf /etc/nginx/http.d /etc/nginx/nginx.conf - sudo cp $< $@ - sudo rc-service nginx restart - -/etc/nginx/http.d: - sudo mkdir -p /etc/nginx/http.d |
