Hack to support nginx