Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit af569ae

Browse files
committed
disable basic auth
1 parent f371757 commit af569ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

react/docker/nginx.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ http {
5454

5555
client_header_buffer_size 64k;
5656
large_client_header_buffers 4 64k;
57-
57+
5858
location / {
5959
root /usr/share/nginx/html;
6060
try_files $uri /index.html;
@@ -66,9 +66,9 @@ http {
6666
proxy_buffering off;
6767
}
6868

69-
70-
auth_basic 'Administrators Access Only';
71-
auth_basic_user_file /etc/nginx/.htpasswd;
69+
# uncomment to enable basic auth (default creds: admin//secret)
70+
# auth_basic 'Administrators Access Only';
71+
# auth_basic_user_file /etc/nginx/.htpasswd;
7272
}
7373

7474
upstream api {

0 commit comments

Comments
 (0)