mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Update README.md
This commit is contained in:
parent
421aa09383
commit
a73c1dd28e
12
README.md
12
README.md
@ -1,19 +1,17 @@
|
||||
# AWX-PF
|
||||
|
||||
## Setup
|
||||
Configure the external instance:
|
||||
|
||||
```shell
|
||||
# Configure the external tower or awx intance:
|
||||
ssh -t your.external.tower.host <<-EOSH
|
||||
sudo -i -u root
|
||||
echo "CSRF_TRUSTED_ORIGINS = ['your.external.tower.host:443']" >> /etc/tower/settings.py
|
||||
ansible-tower-service restart
|
||||
EOSH
|
||||
```
|
||||
Then update the project `webpack.config.js`:
|
||||
```diff
|
||||
- const TARGET = 'https://localhost:443';
|
||||
+ const TARGET = 'https://your.external.tower.host:443';
|
||||
|
||||
# Then update the project webpack configuration:
|
||||
sed 's/localhost:443/your.external.tower.host:443/g' webpack.config.js > config.js
|
||||
mv config.js webpack.config.js
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user