Skip to content
Snippets Groups Projects
Commit 311ad2e3 authored by Henrik's avatar Henrik
Browse files

fix: wrong path

parent 40753bf2
No related branches found
No related tags found
1 merge request!91Feat/deployment
Pipeline #283819 passed
......@@ -10,7 +10,7 @@ RUN npm run build
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY web/nginx.conf /etc/nginx/nginx.conf
COPY web/ca-certificates.crt /etc/ssl/private/ca-certificates.crt
COPY web/nginx-selfsigned.crt /etc/ssl/certs/selfsigned.crt
COPY web/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY web/nginx-selfsigned.crt /etc/ssl/private/nginx-selfsigned.crt
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
......@@ -24,8 +24,8 @@ http {
listen 443 ssl;
server_name localhost;
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
ssl_certificate /etc/ssl/certs/ca-certificates.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.crt;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
......
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