Skip to content

Commit 1ed5d38

Browse files
committed
fix: location of location.conf
1 parent 7f169eb commit 1ed5d38

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ COPY . .
66
RUN npm run build
77

88
FROM bitnami/nginx:latest
9-
COPY nginx/location.conf /opt/bitnami/nginx/conf/server_blocks/location.conf
9+
COPY nginx/location.conf /opt/bitnami/nginx/conf/bitnami/location.conf
1010
COPY --from=build /usr/src/app/dist/dsomm/ /app

nginx/location.conf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
server {
2-
listen 80 default_server;
3-
listen [::]:80 default_server;
4-
server_name _;
5-
root /app;
6-
index index.html;
1+
location / {
2+
root /app;
73
try_files $uri $uri/ /index.html =404;
84
}
9-

0 commit comments

Comments
 (0)