nginx - Nginx auth_basic text not showing in login window
问题描述
According to this example, whatever text follows auth_basic
should show in the login window. But it does show not for me. Instead, I get a plain window:
Here's my nginx location block:
location /dash/ {
auth_basic "Cool system admin";
auth_basic_user_file /etc/nginx/.mypasswd;
proxy_pass http://127.0.0.1:7070;
}
Did anyone experience this issue? Do you know how to solve it?
解决方案
推荐阅读
- python - 使用日期映射在数据框中创建新列
- docker - Windows中的Docker卷路径
- python - 如何通过在python中排除RFC1918私有地址来匹配IPV4正则表达式模式
- mongodb - 单个查询中的MongoDB更新和删除操作
- java - 如何在 Selenium 中输入键而不将其分配给特定对象?
- r - 如何使我的爬虫(用 R 制造)自动?
- jquery - MVC 中的 Ajax 分页
- json - 从 golang 中的标准输入读取 json 对象
- c# - 如何通过 SQL 或 C# 在 XML 中添加 sepa 标头
- php - 使用 jquery 根据 PHP 变量的值添加或删除类