map $http_host $MAGE_RUN_CODE {
gomart grocery;
}
server {
listen 8087;
server_name gomart grocery;
set $MAGE_ROOT /usr/share/nginx/html/gomart;
include /usr/share/nginx/html/gomart/nginx.conf.sample;
error_log /usr/share/nginx/html/gomart/gomart_error.log;
access_log /usr/share/nginx/html/gomart/gomart_access.log;
}
upstream fastcgi_backend2 {
/ server 127.0.0.1:9000;
}