Skip to content

Commit

Permalink
Edited the nginx file again
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlight-bu committed Sep 15, 2024
1 parent 62b5bff commit ad55bb0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions code/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
server {
listen ${PORT};
# /etc/nginx/nginx.conf
events {}

location / {
http {
server {
listen ${PORT};
root /usr/share/nginx/html;
index index.html;

location / {
try_files $uri /index.html;
}
}
}
}

0 comments on commit ad55bb0

Please sign in to comment.