서버 차단용 htaccess에 1분짜리 cache control을 추가

This commit is contained in:
2018-02-04 05:43:46 +09:00
parent 001d7037c5
commit c914fd2aa8
+4
View File
@@ -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