# An example for a server which uses s3 storage with data located in "bucket". # Run with `cargo run -p htsget-axum --features s3-storage -- --config htsget-config/examples/config-files/s3_storage.toml` ticket_server_cors_allow_headers = "All" ticket_server_cors_allow_methods = "All" ticket_server_cors_allow_credentials = true ticket_server_cors_max_age = 300 data_server_enabled = false [[resolvers]] regex = '^(bucket)/(?P.*)$' substitution_string = '$key' storage.backend = 'S3' # Or, set the bucket manually #[resolvers.storage] #backend = 'S3' #bucket = 'bucket'