You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+14-13
Original file line number
Diff line number
Diff line change
@@ -78,8 +78,8 @@ for all `POST`/`PUT` and `DELETE` http calls.
78
78
This example shows how to configure the NGINX inside the docker image
79
79
to be password protected using http basic auth.
80
80
81
-
1) Create your `htpasswd` file.
82
-
2) And a custom `default.conf` NGINX config:
81
+
1) Create your [`.htpasswd` file](https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/#creating-a-password-file).
82
+
2) And a custom `default` NGINX config:
83
83
84
84
```
85
85
upstream python_backend {
@@ -90,40 +90,41 @@ to be password protected using http basic auth.
90
90
listen 80 default_server;
91
91
listen [::]:80 default_server;
92
92
93
-
auth_basic "Administrator’s Area";
94
-
auth_basic_user_file htpasswd;
95
-
96
93
root /var/www/html;
97
94
98
-
# Add index.php to the list if you are using PHP
99
-
index index.html index.htm index.nginx-debian.html;
0 commit comments