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 b506833 + 591ed22 commit 7f3bd5bCopy full SHA for 7f3bd5b
Dockerfile
@@ -51,3 +51,4 @@ FROM proxy AS storybook
51
COPY /storybook /
52
53
ENV NGINX_PROXY_PASS http://app:6006
54
+ENV SERVER_CHANNEL_PROXY_PASS ws://app:6006/storybook-server-channel
context/storybook/etc/nginx/templates/default.conf.template
@@ -6,6 +6,7 @@ server {
6
7
location / {
8
proxy_pass ${NGINX_PROXY_PASS};
9
+ proxy_pass_reverse ${NGINX_PROXY_PASS};
10
}
11
12
location /__webpack-hmr {
@@ -15,4 +16,8 @@ server {
15
16
proxy_set_header Connection "Upgrade";
17
proxy_set_header Host $host;
18
19
+
20
+ location /storybook-server-channel {
21
+ proxy_pass ${SERVER_CHANNEL_PROXY_PASS};
22
+ }
23
0 commit comments