> i want to run first site as open and second site as ristricted (basic
auth),
> but it is hard to do and there is little information on internet about
this
Just add
auth_basic "Test site";
auth_basic_user_file .htpasswd;
to second server { ... } block.
hi,all .
i use name based virtual host (=server block).
i want to run first site as open and second site as ristricted (basic
auth),
but it is hard to do and there is little information on internet about this
.
it is easy to run only name based virtualhost (=server block) .
nginx.conf is ne
2 matches
Mail list logo