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