Skip to content

Instantly share code, notes, and snippets.

@sashas777
Created July 8, 2019 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sashas777/e0cafbf4e92419d111b5032ad368ad6d to your computer and use it in GitHub Desktop.
Save sashas777/e0cafbf4e92419d111b5032ad368ad6d to your computer and use it in GitHub Desktop.
/etc/nginx/sashas-config/mapping
map $http_host $MAGE_RUN_CODE {
admin.local.x.com admin;
local.a.com websiteA;
local.b.ca websiteB;
default admin;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment