This commit is contained in:
송대일 committed 2026-01-30 17:20:52 +09:00
commit 21b6332c9c
459 files changed
+190743

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# --------------------------------------------------
# 기본 보안 설정
# --------------------------------------------------
# 디렉토리 목록 노출 방지
Options -Indexes
# 기본 인덱스 파일 고정
DirectoryIndex index.php
# 서버 정보 노출 방지
ServerSignature Off
# --------------------------------------------------
# 민감 파일 직접 접근 차단
# --------------------------------------------------
<FilesMatch "\.(env|ini|log|sql|bak|sh|inc)$">
Require all denied
</FilesMatch>
# --------------------------------------------------
# PHP 설정 (가능한 경우)
# --------------------------------------------------
php_flag display_errors Off