nginx挂升级提示页

  sre

在目标location加入自定义403页面实现:
error_page 403 /inner.html;
allow 10.0.0.0/24;
deny all;
location = /inner.html {
root /data/nginx/html/inner_html;
allow all;
}

One Reply to “nginx挂升级提示页”

LEAVE A COMMENT

Captcha Code