simple-php-s3-server/.env
hochenggang 9796cccb58 v2
2026-02-15 18:34:17 +08:00

29 lines
755 B
Bash

# PHP S3 Compatible Gateway Configuration
# Data storage directory
DATA_DIR=./data
# Allowed Access Keys (comma-separated)
ALLOWED_ACCESS_KEYS=key1,key2
# Secret Key (for AWS Signature V4 verification)
# All Access Keys share the same Secret Key
DEFAULT_SECRET_KEY=secret
# Maximum request size (bytes)
MAX_REQUEST_SIZE=104857600
# S3 XML namespace
S3_XML_NS=http://s3.amazonaws.com/doc/2006-03-01/
# CORS configuration
CORS_ORIGINS=*
CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS,HEAD
CORS_HEADERS=Content-Type,Authorization,Content-Range,Range,X-Amz-Copy-Source
CORS_EXPOSE_HEADERS=ETag,Content-Length,Content-Range
# Authentication debug mode (set to true to enable signature debug logging)
AUTH_DEBUG=false
# Application debug mode
APP_DEBUG=false