changed nginx config

This commit is contained in:
2026-05-06 19:12:24 +02:00
parent 337bdb1a1d
commit 6d475513fe
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -15,6 +15,8 @@ FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=builder /app/dist /usr/share/nginx/html
COPY ./nginx.config /etc/nginx/nginx.config
EXPOSE 80 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
+14
View File
@@ -0,0 +1,14 @@
http {
include mime.types;
server {
listen 80;
root /usr/share/nginx/html;
location / {
/usr/share/nginx/html;
}
}
}
event {}