fixing issue #243 (https://github.com/miketheman/nginx/issues/243)