Commit 22313091 by Kevin Falcone

Merge pull request #2128 from edx/feanil/update_studio_dns

Update to use the dash name for studio.
parents 0f5e79f7 2d02e665
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
zone: "{{ dns_zone }}" zone: "{{ dns_zone }}"
type: CNAME type: CNAME
ttl: 300 ttl: 300
record: "studio.{{ dns_name }}.{{ dns_zone }}" record: "studio-{{ dns_name }}.{{ dns_zone }}"
value: "{{ item.public_dns_name }}" value: "{{ item.public_dns_name }}"
with_items: ec2.instances with_items: ec2.instances
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
zone: "{{ dns_zone }}" zone: "{{ dns_zone }}"
type: CNAME type: CNAME
ttl: 300 ttl: 300
record: "preview.{{ dns_name }}.{{ dns_zone }}" record: "preview-{{ dns_name }}.{{ dns_zone }}"
value: "{{ item.public_dns_name }}" value: "{{ item.public_dns_name }}"
with_items: ec2.instances with_items: ec2.instances
......
...@@ -174,9 +174,9 @@ if [[ $edx_internal == "true" ]]; then ...@@ -174,9 +174,9 @@ if [[ $edx_internal == "true" ]]; then
# user and set edx_internal to True so that # user and set edx_internal to True so that
# xserver is installed # xserver is installed
cat << EOF >> $extra_vars_file cat << EOF >> $extra_vars_file
EDXAPP_PREVIEW_LMS_BASE: preview.${deploy_host} EDXAPP_PREVIEW_LMS_BASE: preview-${deploy_host}
EDXAPP_LMS_BASE: ${deploy_host} EDXAPP_LMS_BASE: ${deploy_host}
EDXAPP_CMS_BASE: studio.${deploy_host} EDXAPP_CMS_BASE: studio-${deploy_host}
EDXAPP_SITE_NAME: ${deploy_host} EDXAPP_SITE_NAME: ${deploy_host}
CERTS_DOWNLOAD_URL: "http://${deploy_host}:18090" CERTS_DOWNLOAD_URL: "http://${deploy_host}:18090"
CERTS_VERIFY_URL: "http://${deploy_host}:18090" CERTS_VERIFY_URL: "http://${deploy_host}:18090"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment