UI delivery, stage D: app-ui image on nginx-unprivileged (user nginx, port 8080)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
71ea4c5945
commit
3347fffe8e
4 files changed
+15
-12
No files matched your search
@@ -84,7 +84,8 @@ OVP_CSP_CONNECT_EXTRA=$(printf '%s' "$OVP_CSP_CONNECT_EXTRA" | tr -s ' ')
|
||||
export OVP_CSP_CONNECT_EXTRA
|
||||
export OVP_API_HOST=127.0.0.1 OVP_API_PORT=5001
|
||||
export OVP_PROFILER_HOST=127.0.0.1 OVP_PROFILER_PORT=8000
|
||||
envsubst '${OVP_API_HOST} ${OVP_API_PORT} ${OVP_PROFILER_HOST} ${OVP_PROFILER_PORT} ${OVP_CSP_CONNECT_EXTRA}' \
|
||||
export OVP_UI_PORT=80
|
||||
envsubst '${OVP_API_HOST} ${OVP_API_PORT} ${OVP_PROFILER_HOST} ${OVP_PROFILER_PORT} ${OVP_UI_PORT} ${OVP_CSP_CONNECT_EXTRA}' \
|
||||
< /etc/ovpmon/default.conf.template > /etc/nginx/http.d/ovpmon.conf
|
||||
nginx -t || die "generated nginx configuration is invalid (see above)"
|
||||
|
||||
|
||||
Reference in new issue
Block a user