45b15c7fd5
Complete implementation of automated GitHub repository synchronization: - Webhook-based auto-sync from GitHub - Multi-repository support with branch selection - Web dashboard for management - Manual sync and rollback functionality - Comprehensive logging and monitoring Located in /gitpusher/ subdirectory as standalone application.
15 lines
316 B
ApacheConf
15 lines
316 B
ApacheConf
# Deny access to data directory from web
|
|
<FilesMatch "^(data|src)">
|
|
Require all denied
|
|
</FilesMatch>
|
|
|
|
# Deny access to sensitive files
|
|
<FilesMatch "\.(json|log|ini|conf)$">
|
|
Require all denied
|
|
</FilesMatch>
|
|
|
|
# Protect .git directory if exists
|
|
<DirectoryMatch "\.git">
|
|
Require all denied
|
|
</DirectoryMatch>
|