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: README.md
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Features:
23
23
24
24
* Modular, extensible and easy to personalise. Create, share and consume only plugins which match your requirements.
25
25
* Powerful, extensible command-line interface (add your own commands and options)
26
-
* HTTP, HTTPS and experimental HTTP2 support
26
+
* HTTP, HTTPS and HTTP2 support (HTTP2 requires node v8.4.0 or above)
27
27
* URL Rewriting to local or remote destinations
28
28
* Single Page Application support
29
29
* Response mocking
@@ -230,6 +230,15 @@ $ ws --https
230
230
Serving at https://mbp.local:8000, https://127.0.0.1:8000, https://192.168.0.100:8000
231
231
```
232
232
233
+
### HTTP2
234
+
235
+
Uses node's built-in HTTP2 support. HTTP2 servers are always secure using local-web-server's built-in SSL certificates (by default) or those supplied by `--cert`, `--key` or `--pfx`. [See the wiki](https://github.com/lwsjs/local-web-server/wiki) forfurther info about HTTPS options and a guide on how to get the "green padlock"in your browser.
236
+
237
+
```sh
238
+
$ ws --http2
239
+
Serving at https://mbp.local:8000, https://127.0.0.1:8000, https://192.168.0.100:8000
240
+
```
241
+
233
242
## Further Documentation
234
243
235
244
[See the wiki for plenty more documentation and tutorials](https://github.com/lwsjs/local-web-server/wiki).
0 commit comments