Skip to content

Commit

Permalink
document CORS middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpetrello committed Apr 26, 2019
1 parent f608570 commit 586c3e4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/cors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## 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.

0 comments on commit 586c3e4

Please sign in to comment.