fix mistake with port var

trying to work around sed writing empty nginx.conf