来源: 最后更新:24-06-02 12:09:30
## example admin site
server {
server_name $HOSTNAME.dashboard.example.com;
listen 80;
# http://serverfault.com/questions/242218/how-to-disable-http-basic-auth-in-nginx-for-a-specific-ip-range
satisfy any;
allow 210.22.143.202/32;
deny all;
auth_basic "example Restricted";
auth_basic_user_file htpasswd;
error_page 404 /404;
error_page 503 /503;
#charset koi8-r;
access_log logs/dashboard.access.log;
error_log logs/dashboard.error.log;
location / {
proxy_pass http://127.0.0.1:8001;
proxy_redirect default;
proxy_set_header X-Real-IP $remote_addr;
}
location /assets {
alias $DEPLOY_ROOT_DIR/DashboardServer/assets/;
}
}
标签: DashboardServer htpasswd auth_basic_user_file
帮同学化妆最高日入近千 帮朋友化妆帮同学化妆最高日入近千?浙江大二女生冲上热搜,彩妆,妆容,模特,王
2023吉林省紧缺急需职业工种目录政策解读 2024张杰上海演唱会启东直通车专线时间+票价 马龙谢幕,孙颖莎显示统治力,林诗栋紧追王楚钦,国乒新奥运周期竞争已启动 全世界都被吓了一跳 吓死全世界