Skip to content
Snippets Groups Projects
Commit 83197eab authored by Julian Matschinske's avatar Julian Matschinske
Browse files

Add password

Username: admin
Password: TUMvsCovid19!
parent f5071546
No related branches found
No related tags found
No related merge requests found
......@@ -21,5 +21,6 @@ RUN npm run build -- --prod --base-href=/covid19/
RUN cp -r dist/covid19/* /usr/share/nginx/html/
COPY nginx/default.conf /etc/nginx/conf.d/
COPY nginx/htpasswd /etc/nginx/htpasswd
EXPOSE 80
......@@ -5,6 +5,9 @@ server {
index index.html;
root /usr/share/nginx/html;
auth_basic "Preview Area";
auth_basic_user_file /etc/nginx/htpasswd;
location / {
try_files $uri$args $uri$args/ /index.html;
}
......
admin:$apr1$HGc63ar4$hN6OOa9rVeHyT.uJkv3ko.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment