# Rust build artifacts
/target/
# Note: Cargo.lock is committed for reproducible builds in applications

# Server logs and runtime files
server.log
*.log
*.log.*
nohup.out

# Docker runtime files
docker-run/
docker-logs/

# Daemon files
*.pid
bws-daemon.log
bws-daemon.pid
bws-web-server.log
bws-web-server.pid
/var/log/bws.log
/var/run/bws.pid
/tmp/bws*.pid
/tmp/bws*.log
/tmp/mock_server_*.pid

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Environment files
.env
.env.local
.env.*.local

# Temporary files
*.tmp
*.temp
.cache/

# Backup files
*.bak
*.backup

# Local configuration overrides
config.local.toml
local.toml
bws_config.toml

# Development and test configuration files
test_*.toml
config-test-*.toml
config-*-test.toml
debug-*.toml
config-dev-*.toml
config-*-dev.toml
!test_load_balancing.toml
!test_proxy_config.toml
!test_multisite_config.toml

# ACME development files
acme-*.rs
*_acme.rs
acme_*.rs

# Development documentation
*_FEATURES.md
*_FIX_SUMMARY.md
*_TODO.md
*_NOTES.md

# ACME and SSL/TLS certificates and challenges
*.pem
*.key
*.crt
*.cert
*.p12
*.pfx
certs/
certificates/
acme-challenges/
test-acme-challenges/
.well-known/
ssl-certs/
letsencrypt/

# ACME account and challenge files
acme-account.key
acme-*.json
challenge-*.txt

# Test output files
test_output/
*.test
test_results/
mock_server_*.pid

# Test scripts (keep in repo but exclude from some contexts)
test_*.sh
diagnose_*.sh
debug_*.sh
start-*.sh

# mdBook generated documentation
/docs/book/

# Static content directories (if user-generated)
/static-*-user/
/user-static/

# Coverage reports
*.profraw
*.profdata
coverage/

# Generated documentation
doc/

# Cargo advisory database
.cargo/advisory-db/

# Local cargo configuration (machine-specific)
.cargo/config.toml
.cargo/config

# OS specific files
Thumbs.db
Desktop.ini

# Runtime and lock files
*.lock
*.socket
*.sock

# Reverse proxy test servers and logs
backend_server_*.log
upstream_server_*.log
proxy_test_*.log

# Performance profiling
perf.data
*.perf
flamegraph.svg
