Use spawn-fcgi for script
FossilOrigin-Name: 4f5da6be904e61ff198e93d2075a5e090ae9016b7429a64a38fe3e9f5e894b77
This commit is contained in:
parent
033080612a
commit
2fb579ee96
2 changed files with 2 additions and 3 deletions
|
@ -17,5 +17,5 @@
|
|||
|
||||
# Set PATH_INFO variable
|
||||
SetEnvIf Request_URI . proxy-fcgi-pathinfo=1
|
||||
ProxyPass / "fcgi://localhost:4000/"
|
||||
ProxyPass / "fcgi://localhost:4008/"
|
||||
</VirtualHost>
|
|
@ -1,3 +1,2 @@
|
|||
#!/bin/bash
|
||||
kill -9 $(pgrep treebird) > /dev/null 2>&1
|
||||
fcgistarter -c $(dirname $(readlink -f $0))/../treebird -p 4000 -N 1
|
||||
spawn-fcgi -a 127.0.0.1 -p 4008 -n treebird
|
||||
|
|
Loading…
Reference in a new issue