Apache为反向代理添加用户验证

先参见这篇文章的基础知识:https://limour.top/109.html

1
2
3
4
5
6
7
8
9
10
<Location /info/>
AllowOverride AuthConfig
AuthType Basic
AuthName "This page is private"
AuthBasicProvider file
AuthUserFile /media/app/apasswd
require valid-user
</Location>
ProxyPass /info/ http://127.0.0.1:30101/
ProxyPassReverse /info/ http://127.0.0.1:30101/

Apache为反向代理添加用户验证
https://b.limour.top/350.html
Author
Limour
Posted on
July 21, 2020
Licensed under