From 6ee506a15d21ab846390ce16863f6a9305b4fe2a Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hr@hrhr.dev>
Date: Sun, 30 Aug 2020 00:40:53 -0400
Subject: made LINKS a contentful file

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index cf05c55..176f660 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,4 @@ SRC=src
 
 install:
 	cp -R $(SRC) $(WEBROOT)
+	awk '{gsub(/"/,"",$2);print "location = /chsmun/"$1" { return 301 \""g$2"\"; }"}' LINKS > /etc/nginx/chsmun.redir
-- 
cgit