Skip to content

Commit

Permalink
build : nginx 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyo03 authored Nov 5, 2024
1 parent 76f86b4 commit ff7a7d1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ http {
# 서버 설정
server {
listen 3000;
server_name pocket4cut.link localhost;

# 정적 파일 서빙 - /page 경로를 처리하기 위한 설정
location /page/ {
alias /usr/share/nginx/html/;
server_name https://pocket4cut.link/ localhost;

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

location /page/home {
alias /usr/share/nginx/html/;
location /page/ {
try_files $uri /index.html;
}
}
}

0 comments on commit ff7a7d1

Please sign in to comment.