Skip to content

Commit

Permalink
update nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Nov 28, 2023
1 parent f50f305 commit 5a8f490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nginx:alpine-slim
EXPOSE 80
COPY nginx.conf /etc/nginx/sites-enabled/serve.conf
COPY dist /usr/share/nginx/html
COPY dist /data/www
2 changes: 1 addition & 1 deletion frontend/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 80;
root /usr/share/nginx/html;
root /data/www;
location / {
try_files $uri $uri/ /index.html;
}
Expand Down

0 comments on commit 5a8f490

Please sign in to comment.