You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/advanced/Full-Server-Config.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -450,12 +450,14 @@ outbounds:
450
450
bindIPv4: 2.4.6.8 # (2)!
451
451
bindIPv6: 0:0:0:0:0:ffff:0204:0608 # (3)!
452
452
bindDevice: eth233 # (4)!
453
+
fastOpen: false # (5)!
453
454
```
454
455
455
456
1. See the explanation below.
456
457
2. The local IPv4 address to bind to.
457
458
3. The local IPv6 address to bind to.
458
459
4. The local network interface to bind to.
460
+
5. Enable TCP fast open.
459
461
460
462
The available `mode` values are:
461
463
@@ -500,21 +502,23 @@ masquerade:
500
502
proxy:
501
503
url: https://some.site.net # (2)!
502
504
rewriteHost: true # (3)!
505
+
insecure: false # (4)!
503
506
string:
504
-
content: hello stupid world # (4)!
505
-
headers: # (5)!
507
+
content: hello stupid world # (5)!
508
+
headers: # (6)!
506
509
content-type: text/plain
507
510
custom-stuff: ice cream so good
508
-
statusCode: 200 # (6)!
511
+
statusCode: 200 # (7)!
509
512
```
510
513
511
514
1. The directory to serve files from.
512
515
2. The URL of the website to proxy.
513
516
3. Whether to rewrite the `Host` header to match the proxied website. This is required if the target web server uses `Host` to determine which site to serve.
514
-
4. The string to return.
515
-
5. Optional. The headers to return.
516
-
6. Optional. The status code to return. 200 by default.
517
-
7. Please read the instructions regarding the "type selector" at the top of this page.
517
+
4. Disable TLS verification for the proxied website.
518
+
5. The string to return.
519
+
6. Optional. The headers to return.
520
+
7. Optional. The status code to return. 200 by default.
521
+
8. Please read the instructions regarding the "type selector" at the top of this page.
518
522
519
523
You can test your masquerade configuration by starting Chrome with a special flag (to force QUIC):
0 commit comments