add a nginx with ssl for easier testing

This commit is contained in:
Chris Lu
2026-01-08 09:59:31 -08:00
parent 9012069bd7
commit f02e283ad2
6 changed files with 226 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Makefile for managing local Nginx instance
# Current directory
PWD := $(shell pwd)
.PHONY: start stop reload clean
logs:
mkdir -p logs
start: logs
nginx -p $(PWD) -c nginx.conf
stop:
nginx -p $(PWD) -s stop
reload:
nginx -p $(PWD) -s reload
check:
nginx -p $(PWD) -c nginx.conf -t
clean:
rm -rf logs