ErrorDocument 503 /maintenance.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{REQUEST_URI} !=/maintenance.html
RewriteCond %{REQUEST_URI} !=/test.php
RewriteCond %{REQUEST_URI} !=/sbivt3g/res.php
RewriteCond %{HTTP:X-Forwarded-For} !=127.0.0.1
RewriteCond %{HTTP:X-Forwarded-For} !=10.0.0.69
RewriteCond %{HTTP:X-Forwarded-For} !=10.0.0.169
RewriteCond %{HTTP:X-Forwarded-For} !=202.225.99.104
RewriteCond %{HTTP:X-Forwarded-For} !=163.139.228.163
RewriteCond %{HTTP:X-Forwarded-For} !=113.32.180.130
RewriteRule ^.*$ - [R=503,L]
</IfModule>
Alias /health-check/ "/var/www/health-check/"
/health-check/test.php -------- elbのcheck