File tree 7 files changed +32
-7
lines changed
7 files changed +32
-7
lines changed Original file line number Diff line number Diff line change
1
+ ROOT : /tmp/
2
+ ERROR_LOG : error.log
3
+ ACCESS_LOG : access.log
4
+ LISTEN : 127.0.0.1:9191
Original file line number Diff line number Diff line change @@ -23,12 +23,19 @@ cd go-fileHttp-mac-v1.1
23
23
24
24
25
25
#### default config
26
+ ``` yaml
27
+ ROOT : /tmp/
28
+ ERROR_LOG : /tmp/vpn.log
29
+ ACCESS_LOG : /tmp/vpn.log
30
+ LISTEN : 127.0.0.1:9191
31
+ ` ` `
32
+
26
33
| Key | Value |Describe |
27
34
| ---------- | :-----------: | :-----------: |
28
35
| ROOT_DIR | $HOME | User home directory |
29
36
| ERROR_LOG | error.log | error log |
30
37
| ERROR_LOG | access.log | access log |
31
- | LISTEN | 0 .0.0.0 :9191 | listen addres |
38
+ | LISTEN | 127 .0.0.1 :9191 | listen addres |
32
39
33
40
34
41
### required parameter
Original file line number Diff line number Diff line change @@ -20,17 +20,20 @@ cd go-fileHttp-mac-v1.1
20
20
./file_http
21
21
```
22
22
23
-
24
-
25
-
26
-
27
23
#### 默认配置
24
+ ``` yaml
25
+ ROOT : /tmp/
26
+ ERROR_LOG : /tmp/vpn.log
27
+ ACCESS_LOG : /tmp/vpn.log
28
+ LISTEN : 127.0.0.1:9191
29
+ ` ` `
30
+
28
31
| Key | Value |Describe |
29
32
| ---------- | :-----------: | :-----------: |
30
33
| ROOT_DIR | $HOME | 用户家目录 |
31
34
| ERROR_LOG | error.log | 日志 |
32
35
| ERROR_LOG | access.log | 访问日志 |
33
- | LISTEN | 0 .0.0.0 :9191 | 监听地址 |
36
+ | LISTEN | 127 .0.0.1 :9191 | 监听地址 |
34
37
35
38
36
39
### 请求头参数
Original file line number Diff line number Diff line change
1
+ ROOT : /tmp/
2
+ ERROR_LOG : error.log
3
+ ACCESS_LOG : access.log
4
+ LISTEN : 127.0.0.1:9191
Original file line number Diff line number Diff line change @@ -23,12 +23,19 @@ cd go-fileHttp-mac-v1.1
23
23
24
24
25
25
#### default config
26
+ ``` yaml
27
+ ROOT : /tmp/
28
+ ERROR_LOG : /tmp/vpn.log
29
+ ACCESS_LOG : /tmp/vpn.log
30
+ LISTEN : 127.0.0.1:9191
31
+ ` ` `
32
+
26
33
| Key | Value |Describe |
27
34
| ---------- | :-----------: | :-----------: |
28
35
| ROOT_DIR | $HOME | User home directory |
29
36
| ERROR_LOG | error.log | error log |
30
37
| ERROR_LOG | access.log | access log |
31
- | LISTEN | 0 .0.0.0 :9191 | listen addres |
38
+ | LISTEN | 127 .0.0.1 :9191 | listen addres |
32
39
33
40
34
41
### required parameter
You can’t perform that action at this time.
0 commit comments