x86_64-centos-awx/docs/cors.md
2021-03-02 20:53:43 +08:00

361 B

CORS Support

AWX supports custom CORS headers via the Django CORS Middleware (https://github.com/ottoyiu/django-cors-headers)

To define CORS-specific settings, add them to /etc/tower/conf.d/cors.py:

CORS_ORIGIN_WHITELIST = (
    'hostname.example.com',
    '127.0.0.1:9000'
)

...and restart all AWX services for changes to take effect.