-
Notifications
You must be signed in to change notification settings - Fork 87
Home
Lloyd Brookes edited this page Jun 6, 2019
·
100 revisions
Local-web-server is a distribution of lws bundled with a "starter pack" of useful middleware.
- Launch a simple HTTP development web server
- Launch a secure HTTPS development web server
- How to launch a secure HTTP2 development web server
- Configuration Management
- Using middleware
- Verbose output
- How to distribute with your project
- How to use local-web-server programmatically (API Reference)
- CLI usage options
- How to serve a Single Page Application (SPA)
- How to rewrite URLs to local or remote destinations
- How to create a mock response
- How to output an access log
- How to visualise access logs with third-party tools
- How to blacklist certain routes
- How to customise mime types
- How to configure Cross-Origin Resource Sharing (CORS)
- How to use HTTP Conditional Requests
- How to password-protect a server using Basic Authentication