Skip to main content
Version: v3 (latest✅)

CORS

CORS (Cross-Origin Resource Sharing) is a security feature implemented by web browsers that allows or restricts web applications running at one origin to make requests to resources from another origin.

By default any origin is allowed to access the resources of the server. However, you can restrict access to the same origin by setting the CORS_ALLOW_ANY_ORIGIN environment variable to false.

⚙️ Configuration

VariableDefaultValuesDetails
CORS_ALLOW_ANY_ORIGINtruetrue
false
added in v3.13
How to set configuration options
Set the environment variables when starting the container.
Use docker run...
  • ...with -e CORS_ALLOW_ANY_ORIGIN=true
  • ...with --env-file .env and place CORS_ALLOW_ANY_ORIGIN=true in the file
See installation page for more details.