microsoft / oxa-tools

Open edX on Azure Tools
MIT License
36 stars 103 forks source link

nginx redirect to new domain #474

Closed prabhanshu closed 4 years ago

prabhanshu commented 4 years ago

What does this PR do? Please provide some context

Adding a flag which will add Redirect code in Nginx configuration.

Adding LMS_HOSTNAME to pass the hostname to Nginx configuration. Ref: https://github.com/microsoft/edx-configuration/blob/oxa/dev.haw/playbooks/roles/nginx/defaults/main.yml#L131

Where should the reviewer start?

How can this be manually tested? (brief repro steps and corpnet-URL with change)

What are the relevant TFS items? (list id numbers)

Definition of done:

Reminders DURING merge

  1. If you're merging from a short-term (feature) branch into a long-term branch (like dev, release, or master) then "Squash and merge" to keep our history clean.
  2. If merging from two longterm branches (like cherry picks from upstream, dev to release, etc) then "Create merge commit" to preserve individual commits.