Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .htpasswd

This file was deleted.

1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN pnpm run build
FROM nginx:alpine

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

EXPOSE 80
Expand Down
3 changes: 0 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ server {
root /usr/share/nginx/html;
error_page 404 /404.html;

auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;

location / {
try_files $uri $uri/ $uri.html =404;
}
Expand Down