add a nginx with ssl for easier testing
This commit is contained in:
25
unmaintained/local-nginx/Makefile
Normal file
25
unmaintained/local-nginx/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user