giving up on nginx for the moment and just using lighttpd, futzing a bit more with query example
This commit is contained in:
10
web/Makefile
10
web/Makefile
@@ -12,12 +12,22 @@ serve: nginx.conf
|
||||
nginx -p $(ROOT)/ -c $(ROOT)/$<
|
||||
|
||||
|
||||
serve-lighttpd: lighttpd.conf
|
||||
lighttpd -D -f $(ROOT)/$<
|
||||
|
||||
|
||||
nginx.conf: $(ALL_NGINX_CONF_INPUTS)
|
||||
cat $< | \
|
||||
sed -e 's@__ROOT__@$(ROOT)@g' \
|
||||
-e 's@__HTTP_PORT__@$(HTTP_PORT)@g' > $@
|
||||
|
||||
|
||||
lighttpd.conf: lighttpd.conf.in
|
||||
cat $< | \
|
||||
sed -e 's@__ROOT__@$(ROOT)@g' \
|
||||
-e 's@__HTTP_PORT__@$(HTTP_PORT)@g' > $@
|
||||
|
||||
|
||||
serve-cgiwrap: cgiwrap-fcgi.pl
|
||||
perl $<
|
||||
|
||||
|
Reference in New Issue
Block a user