Flask的设置看:
https://gist.github.com/codeif/d617eab1c15c5f8f063a434b100aa0d2
nginx的看:
location / {
try_files $uri @demo;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
}
Flask的设置看:
https://gist.github.com/codeif/d617eab1c15c5f8f063a434b100aa0d2
nginx的看:
location / {
try_files $uri @demo;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
}