server {
listen 80;
auth_basic "auth";
auth_basic_user_file /path/to/.htpasswd;
root /path/to/root;
location /path/to/exception {
satisfy any;
allow all;
}
}
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme