Skip to content

Commit c80a64d

Browse files
committed
Fix nginx_default_sites var for ansible cmd for nginx configs
1 parent b0bef7f commit c80a64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/nginx_configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Note: If your configuration directory (`edx_ansible/edx_ansible`) on the server
3030
## Run Ansible Nginx role
3131

3232
* Once you have done this, rerun the Nginx Ansible role for the LMS and CMS sites with this commands on your edxapp server.
33-
- `sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local /edx/app/edx_ansible/edx_ansible/playbooks/run_role.yml -e"role=nginx" -e"@/edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/defaults/main.yml" -e"@/edx/app/edx_ansible/server-vars.yml" -e'{"nginx_sites":["lms", "cms"]}' -t install:configuration -vvv`
33+
- `sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local /edx/app/edx_ansible/edx_ansible/playbooks/run_role.yml -e"role=nginx" -e"@/edx/app/edx_ansible/edx_ansible/playbooks/roles/edxapp/defaults/main.yml" -e"@/edx/app/edx_ansible/server-vars.yml" -e'{"nginx_sites":["lms", "cms"], "nginx_default_sites": ["lms"]}' -t install:configuration -vvv`
3434

3535
* This will update the `lms` and `cms` configuration on Nginx and should reload the Nginx configuration. To make sure you have the new configuration in place,:
3636
```

0 commit comments

Comments
 (0)