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.
1 parent 47d58be commit c7db9c9Copy full SHA for c7db9c9
standalone_ubuntu_oss_install.sh
@@ -178,6 +178,10 @@ if [ -z "${CORS_ALLOWED_ORIGIN+x}" ]; then
178
CORS_ALLOWED_ORIGIN="*"
179
fi
180
181
+cat >> "/etc/nginx/environment" << EOF
182
+CORS_ALLOWED_ORIGIN=${CORS_ALLOWED_ORIGIN}
183
+EOF
184
+
185
# Only include these env vars if we are not using a instance profile credential
186
# to obtain S3 permissions.
187
if [ $uses_iam_creds -eq 0 ]; then
0 commit comments