~tardypad/tardypad.me

ref: 3583bee9b3712202a330f02844308a8b2d9e280b tardypad.me/pkgs/Makefile -rw-r--r-- 249 bytes
3583bee9Damien Tardy-Panis carl: add reverse proxy config 8 months ago
                                                                                
1
2
3
4
5
6
7
install:
	mkdir -p $(DESTDIR)/srv/http/pkgs
	mkdir -p $(DESTDIR)/etc/nginx/http.d
	cp nginx.conf $(DESTDIR)/etc/nginx/http.d/pkgs.conf
	@printf 'damien:%s\n' `openssl passwd -apr1 "$(HTPASSWD)"` > $(DESTDIR)/etc/nginx/htpasswd_pkgs

.PHONY: install