Skip to content

Commit 932ee74

Browse files
authored
Remove basic auth from nginx (#77)
1 parent d819f92 commit 932ee74

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

.htpasswd

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ RUN pnpm run build
2525
FROM nginx:alpine
2626

2727
COPY nginx.conf /etc/nginx/conf.d/default.conf
28-
COPY .htpasswd /etc/nginx/.htpasswd
2928
COPY --from=build /app/dist /usr/share/nginx/html
3029

3130
EXPOSE 80

nginx.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ server {
33
root /usr/share/nginx/html;
44
error_page 404 /404.html;
55

6-
auth_basic "Restricted";
7-
auth_basic_user_file /etc/nginx/.htpasswd;
8-
96
location / {
107
try_files $uri $uri/ $uri.html =404;
118
}

0 commit comments

Comments
 (0)