diff --git a/frontend/nginx.conf b/frontend/nginx.conf index d434e4a58..0bede56ac 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -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; @@ -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; + } } \ No newline at end of file