We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 870a3ba + 53a1a65 commit b506833Copy full SHA for b506833
Dockerfile
@@ -42,3 +42,12 @@ FROM proxy AS nextjs
42
COPY /nextjs /
43
44
ENV NGINX_PROXY_PASS http://app:3000
45
+
46
+##
47
+# Storybook
48
49
+FROM proxy AS storybook
50
51
+COPY /storybook /
52
53
+ENV NGINX_PROXY_PASS http://app:6006
context/storybook/etc/nginx/templates/default.conf.template
@@ -0,0 +1,18 @@
1
+server {
2
3
+ include include.d/ssl.conf;
4
5
+ root /var/www/web;
6
7
+ location / {
8
+ proxy_pass ${NGINX_PROXY_PASS};
9
+ }
10
11
+ location /__webpack-hmr {
12
13
+ proxy_http_version 1.1;
14
+ proxy_set_header Upgrade $http_upgrade;
15
+ proxy_set_header Connection "Upgrade";
16
+ proxy_set_header Host $host;
17
18
+}
0 commit comments