debug nginx
This commit is contained in:
parent
84f1d3e22d
commit
3246648f82
@ -8,6 +8,7 @@ RUN npm ci && npm run build
|
|||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY --from=builder /home/node/app/dist /var/www/html
|
COPY --from=builder /home/node/app/dist /var/www/html
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
@ -84,6 +84,7 @@ http {
|
|||||||
index index.html;
|
index index.html;
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
|
absolute_redirect off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user