How to redirect from www to non www in mupx or Docker or nginx

my app is deployed using mupx on ubuntu 14 server

i tried to configure www to nonwww on nginx but its running on docker and changes are not applying on it

help me to configure

thank you

wizonesolutions:canonical add this package


run on your local project

set environment ROOT_URL verialble

ROOT_URL= meteor

form your local system