diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-02-05 14:32:35 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-02-05 14:34:10 -0600 |
| commit | 0a80a22b8a9d624c83a6e63a0b853ba42e8c3bc0 (patch) | |
| tree | 024722d4f0c823eb45e04c6a5466b599ce235dbb /debug/nginx.sh | |
it exists
Diffstat (limited to 'debug/nginx.sh')
| -rwxr-xr-x | debug/nginx.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
