mirror of
https://github.com/ansible/awx.git
synced 2026-03-15 07:57:29 -02:30
enabled syntax highlighting
This commit is contained in:
10
docs/cors.md
10
docs/cors.md
@@ -5,9 +5,11 @@ AWX supports custom CORS headers via the Django CORS Middleware
|
|||||||
|
|
||||||
To define CORS-specific settings, add them to ``/etc/tower/conf.d/cors.py``:
|
To define CORS-specific settings, add them to ``/etc/tower/conf.d/cors.py``:
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = (
|
```python
|
||||||
'hostname.example.com',
|
CORS_ORIGIN_WHITELIST = (
|
||||||
'127.0.0.1:9000'
|
'hostname.example.com',
|
||||||
)
|
'127.0.0.1:9000'
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
...and restart all AWX services for changes to take effect.
|
...and restart all AWX services for changes to take effect.
|
||||||
|
|||||||
Reference in New Issue
Block a user