简单的HTTP服务器,支持HTTP / 2和auto TLS
简单的HTTP服务器,支持HTTP / 2和auto TLS
Go 服务器应用
共1599Star
详细介绍
What can it do today?
- Serve HTTP/2
- Automatically install TLS certificates from https://letsencrypt.org
- Proxy HTTP and WebSocket requests
- Define virtual hosts with path level routing
- Graceful shutdown
- Limit request body
- Serve static files
- Log requests
- Gzip response
- Cross-origin Resource Sharing (CORS)
- Security
- XSSProtection
- ContentTypeNosniff
- ContentSecurityPolicy
- HTTP Strict Transport Security (HSTS)
- Add / Remove trailing slash from the URL with option to redirect
- Redirect requests
- http to https
- http to https www
- http to https non www
- non www to www
- www to non www
- URL path rewrite
Most of the functionality is implemented via Plugin
interface which makes writing a custom plugin super easy.
Get Started
What's on the roadmap?
- Website
- Code coverage
- Test cases
-
836 Star
-
9235 Star
-
1768 Star
-
0 Star
-
1724 Star
-
30044 Star
-
313 Star
-
314 Star
-
9868 Star