map $http_host $MAGE_RUN_CODE { in.phpcodez.com default; } map $http_host $MAGE_RUN_TYPE { in.phpcodez.com store; } server { listen 80; server_name in.phpcodez.com; set $MAGE_ROOT /usr/share/nginx/html/phpcodez; set $MAGE_MODE developer; include /usr/share/nginx/html/phpcodez/nginx.conf.sample; }