Releases: pollystack/fast
v0.0.6
π FAST v0.0.6: Protocol Fixes & HTTP Method Handling! π οΈ
Bug Fixes:
- π Fixed proxy protocol configuration mismatch (proto vs protocol)
- π Added support for all HTTP methods in proxy mode
- π Kept GET-only restriction for file and static modes
- π Fixed connection reset issues in HTTPS proxy forwarding
Infrastructure Improvements:
- π¦ Better request method handling based on domain type
- π Proper HTTPS proxy forwarding with configurable protocol
- π‘ Enhanced proxy configuration validation
- β¨ More consistent protocol handling across all domain types
The major changes were:
- Fixed the protocol configuration field name mismatch that was causing proxy requests to downgrade to HTTP
- Made routes conditionally handle HTTP methods - allowing ALL methods for proxy domains while keeping GET-only for file and static domains
- This means proxy servers now correctly forward HTTPS requests while maintaining proper HTTP method restrictions for file serving.
v0.0.5
π FAST v0.0.5: Security & Path Handling Improvements! π οΈ
Bug Fixes:
π Fixed turn off TLS certificate verification in proxy mode
π‘οΈ Enhanced absolute path handling for static files
π Improved host header preservation in proxy
π Better development mode detection
β¨ More detailed logging in development mode
Security Improvements:
π‘οΈ Absolute path enforcement for static files
π Proper TLS configuration with modern cipher suites
π Enhanced directory traversal prevention
π¦ Better error handling for file access
v0.0.3
π FAST v0.0.3: Containerized Deployment with Docker Compose! π³
This release focuses on making FAST easier to deploy and manage using Docker Compose, with emphasis on configuration flexibility and operational reliability.
New Features:
- π³ Docker Compose support for easy deployment
- π§ Environment-based configuration
- π Simplified volume management
- π Container health monitoring
- π¦ Automatic container restart
- π Resource limit management
Key Improvements:
- π οΈ Streamlined deployment process
- βοΈ Flexible configuration through .env file
- π¦ Consistent runtime environment
- π Enhanced logging setup
- π Network isolation
- π Read-only volume mounts for security
Configuration Files:
docker-compose.yaml:
version: '3.8'
x-default-volumes: &default-volumes
- ${CONFIG_PATH:-./config.yaml}:/etc/fast/config.yaml:ro
- ${SSL_PATH:-./ssl}:/etc/fast/ssl:ro
- ${WWW_PATH:-./www}:/var/www/fast:ro
- ${LOG_PATH:-./logs}:/var/log/fast
services:
fast-server:
build:
context: .
dockerfile: Dockerfile
ports:
- "${HTTP_PORT:-80}:80"
- "${HTTPS_PORT:-443}:443"
volumes: *default-volumes
environment:
- GO_ENV=production
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
.env
# Host Directory Paths
CONFIG_PATH=./config.yaml
SSL_PATH=./ssl
WWW_PATH=./www
LOG_PATH=./logs
# Server Ports
HTTP_PORT=80
HTTPS_PORT=443
Quick Start
# Initialize development environment
make init-dev
# Start the server
make docker-compose-up
Full Documentation
- Please see Readme.md
v0.0.1
π Introducing FAST: Revolutionizing Static Site Serving and Reverse Proxying! π
FAST (File Access Speedy Transfer) is here to transform your web hosting experience:
- β‘ Lightning-fast static content delivery
- π Efficient reverse proxy capabilities
- π Built-in SSL/TLS encryption for top-notch security
Key Features:
- π Multi-domain support for versatile hosting
- π HTTP to HTTPS redirection
- βοΈ Easy YAML configuration
- π₯οΈ Systemd service integration for smooth operations
Perfect for:
- πΌ Businesses needing quick, secure web presence
- π οΈ Developers seeking efficient hosting solutions
- π Projects requiring high-performance static file serving