From 05312d2e8ac833415923c1b5d317bc92e68df354 Mon Sep 17 00:00:00 2001 From: Changyu Geng Date: Wed, 31 Jan 2018 15:10:55 +0800 Subject: [PATCH] Stop nginx decoding uri when proxy_pass issue #4 addressed --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index cce622a..0803007 100644 --- a/nginx.conf +++ b/nginx.conf @@ -45,7 +45,7 @@ http { location / { index index.html index.htm; - proxy_pass https://registry.npmjs.org/; + proxy_pass https://registry.npmjs.org; proxy_cache npm; proxy_cache_valid 200 302 3d; proxy_cache_valid 404 1m;