-
Choerodon平台版本: 0.16.0
-
遇到问题的执行步骤:
总前端项目nginx启动后,登录后,所有菜单都打不开,报404
enterpoint.sh文件配置如下:
set -e
find /usr/share/nginx/html -name “.js" | xargs sed -i “s localhost:http http: g”
find /usr/share/nginx/html -name ".js” | xargs sed -i “s localhost:8080 10.0.0.131:8080 g”
find /usr/share/nginx/html -name “.js" | xargs sed -i “s localhost:clientId localhost g”
find /usr/share/nginx/html -name ".js” | xargs sed -i “s localhost:local true g”
find /usr/share/nginx/html -name “.js" | xargs sed -i “s localhost:headertitlename Choerodon g”
find /usr/share/nginx/html -name ".js” | xargs sed -i “s localhost:cookieServer 10.0.0.131:8080 g”
find /usr/share/nginx/html -name “.html" | xargs sed -i “s localhost:titlename citec devops g”
find /usr/share/nginx/html -name ".js” | xargs sed -i “s POD_WEBSOCKET_URL 10.0.0.142:8060 g”
find /usr/share/nginx/html -name “.js" | xargs sed -i “s SERVICES_URL_EXAMPLE 10.0.0.142:8378 g”
find /usr/share/nginx/html -name ".js” | xargs sed -i “s localhost:fileserver 10.0.0.131:9099 g”
find /usr/share/nginx/html -name “*.js” | xargs sed -i “s localhost:wsserver 10.0.0.131:18085 g”
exec “$@”
是不是哪里配置不对?