Setting에 closerServer, openServer를 통합. 서버 업데이트시 자동 폐쇄 상태로

This commit is contained in:
2018-04-01 20:31:20 +09:00
parent 4f113f210e
commit 97c6904918
5 changed files with 43 additions and 23 deletions
+10
View File
@@ -0,0 +1,10 @@
<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
Allow from env=env_allow_1
Allow from <?=$allow_ip?>
<?php endif; ?>