File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
context/storybook/etc/nginx/templates Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -51,4 +51,3 @@ FROM proxy AS storybook
5151COPY /storybook /
5252
5353ENV NGINX_PROXY_PASS=http://app:6006
54- ENV SERVER_CHANNEL_PROXY_PASS=ws://app:6006/storybook-server-channel
Original file line number Diff line number Diff line change 66
77 location / {
88 proxy_pass ${NGINX_PROXY_PASS};
9- proxy_pass_reverse ${NGINX_PROXY_PASS};
109 }
1110
1211 location /__webpack-hmr {
@@ -18,6 +17,10 @@ server {
1817 }
1918
2019 location /storybook-server-channel {
21- proxy_pass ${SERVER_CHANNEL_PROXY_PASS};
20+ proxy_pass ${NGINX_PROXY_PASS};
21+ proxy_http_version 1.1;
22+ proxy_set_header Upgrade $http_upgrade;
23+ proxy_set_header Connection "Upgrade";
24+ proxy_set_header Host $host;
2225 }
2326}
You can’t perform that action at this time.
0 commit comments