Webサーバ
リバースプロキシを立てる理由
nginx
メンテナンス画面に飛ばす
location / {
root html;
index index.html index.htm;
if (-f "/tmp/maintenance" ) {
rewrite ^(.*)$ http://172.17.0.3:8000/maintenance.html? permanent;
}
}設定
proxy_passとredirect
proxy_redirect
rewriteのオプション
proxy_set_header
Last updated