-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.txt
More file actions
48 lines (27 loc) · 799 Bytes
/
help.txt
File metadata and controls
48 lines (27 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// sudo lsof -t -i tcp:80 -s tcp:listen | sudo xargs kill
sudo lsof -i:80 -t | xargs -r sudo kill
{
"cgiPath": "/cgi-bin",
"documentRoot": "/var/www/html"
}
{
"proxyUnixSocket": "/var/run/app.sock",
"proxyPath": "/api"
}
{
"portType": "http",
"serverName": "example.com",
"documentRoot": "/var/www/html",
"user": "www-data",
"group": "www-data",
// Directory indexing (Apache-style)
"directoryIndex": "index.php index.html index.htm",
// PHP FastCGI (TCP connection)
"phpProxyFCGI": "127.0.0.1:9000",
// Proxy configuration
"proxyUnixSocket": "/var/run/app.sock",
"proxyType": "fcgi", // or "http"
"proxyPath": "/api", // Optional: only proxy this path
// CGI configuration
"cgiPath": "/cgi-bin" // Path prefix for CGI scripts
}