서버 차단용 htaccess에 1분짜리 cache control을 추가
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<IfModule mod_headers.c>
|
||||
Header set Cache-Control "max-age=60, must-revalidate"
|
||||
</IfModule>
|
||||
|
||||
Deny from all
|
||||
<?php if(isset($allow_ip) && $allow_ip != ''): ?>
|
||||
SetEnvIf X-Forwarded-For ^<?=str_replace('.', '\\.', $allow_ip)?> env_allow_1
|
||||
|
||||
Reference in New Issue
Block a user