changed nginx config
This commit is contained in:
@@ -15,6 +15,8 @@ FROM nginx:alpine
|
||||
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
|
||||
COPY ./nginx.config /etc/nginx/nginx.config
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
@@ -0,0 +1,14 @@
|
||||
http {
|
||||
include mime.types;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location / {
|
||||
/usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
event {}
|
||||
Reference in New Issue
Block a user