Skip to content

Commit

Permalink
chore: nginx.conf 스토리북 배포 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
dladncks1217 committed Jul 27, 2023
1 parent 73e31b2 commit 40b8173
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ server {
alias /usr/share/nginx/html/img;
try_files $uri $uri.png $uri.jpg $uri.jpeg =404;
}
location /storybook{
alias /usr/share/nginx/html/storybook;
try_files $uri $uri/ /index.html;
}
}

server{
listen 443 ssl;

Expand All @@ -38,4 +43,8 @@ server{
alias /usr/share/nginx/html/img;
try_files $uri $uri.png $uri.jpg $uri.jpeg =404;
}
location /storybook{
alias /usr/share/nginx/html/storybook;
try_files $uri $uri/ /index.html;
}
}

0 comments on commit 40b8173

Please sign in to comment.