We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f169eb commit 1ed5d38Copy full SHA for 1ed5d38
2 files changed
Dockerfile
@@ -6,5 +6,5 @@ COPY . .
6
RUN npm run build
7
8
FROM bitnami/nginx:latest
9
-COPY nginx/location.conf /opt/bitnami/nginx/conf/server_blocks/location.conf
+COPY nginx/location.conf /opt/bitnami/nginx/conf/bitnami/location.conf
10
COPY --from=build /usr/src/app/dist/dsomm/ /app
nginx/location.conf
@@ -1,9 +1,4 @@
1
-server {
2
- listen 80 default_server;
3
- listen [::]:80 default_server;
4
- server_name _;
5
- root /app;
- index index.html;
+location / {
+ root /app;
try_files $uri $uri/ /index.html =404;
}
-
0 commit comments