We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26243d6 commit 7836414Copy full SHA for 7836414
shell-ui/Dockerfile
@@ -1,4 +1,4 @@
1
-ARG NGINX_IMAGE_VERSION=1.18.0-alpine
+ARG NGINX_IMAGE_VERSION=1.28.0-alpine
2
ARG NODE_IMAGE_VERSION=20-alpine3.19
3
4
FROM node:${NODE_IMAGE_VERSION} AS build-step
shell-ui/conf/nginx.conf
@@ -21,13 +21,9 @@ server {
21
# text/html is always compressed by gzip module
22
23
root /usr/share/nginx/html;
24
- index index.html index.htm;
+ index /shell/index.html;
25
26
location / {
27
- try_files $uri $uri/ /index.html;
28
- sub_filter </head>
29
- '</head><script language="javascript">window.shellUIRemoteEntryUrl = "/shell/remoteEntry.js"</script>';
30
- sub_filter_once on;
31
-
+ try_files $uri $uri/ /shell/index.html;
32
}
33
0 commit comments