From 0a80a22b8a9d624c83a6e63a0b853ba42e8c3bc0 Mon Sep 17 00:00:00 2001 From: the lemons Date: Sat, 5 Feb 2022 14:32:35 -0600 Subject: it exists --- debug/nginx.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 debug/nginx.sh (limited to 'debug/nginx.sh') diff --git a/debug/nginx.sh b/debug/nginx.sh new file mode 100755 index 0000000..a195aea --- /dev/null +++ b/debug/nginx.sh @@ -0,0 +1,6 @@ +#!/bin/sh +killall nginx fcgiwrap > /dev/null +rm -f fcgiwrap.socket +/usr/bin/env printf 'fastcgi_param SCRIPT_FILENAME "%q/../zzcxz.cgi"; fastcgi_pass "unix:%q/fcgiwrap.socket";' "$(pwd)" "$(pwd)" > /tmp/fastcgi_conf; +fcgiwrap -s unix:"$(pwd)"/fcgiwrap.socket & +nginx -p "$(pwd)" -c nginx.conf -- cgit v1.2.3