Skip to content

Commit 230673a

Browse files
committed
nginx: fix bad Content-Type on package metadata
1 parent 4defb6a commit 230673a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nginx.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ events {
1111
http {
1212
# We literally only care about 2 types of files/payloads.
1313
types {
14-
application/json json;
1514
application/gzip tgz;
1615
}
17-
default_type application/octet-stream;
16+
default_type application/json;
1817
sendfile on;
1918
keepalive_timeout 65;
2019
proxy_cache_path /tmp/npm/cache levels=1:2 keys_zone=NPM:10m inactive=90d max_size=5g;
@@ -32,7 +31,6 @@ http {
3231
local ephemeralNPM = require "ephemeral-npm"
3332
ephemeralNPM.init()
3433
}
35-
3634
server {
3735
listen 4873;
3836
set $npm_config_registry '';

0 commit comments

Comments
 (0)