hstz commited on
Commit
6aae631
·
verified ·
1 Parent(s): 0996a35

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -2
nginx.conf CHANGED
@@ -49,8 +49,7 @@ http {
49
  }
50
 
51
  server {
52
- listen 3001; # 监听端口
53
- http2; # 启用 HTTP/2
54
 
55
  server_name localhost;
56
 
 
49
  }
50
 
51
  server {
52
+ listen 3001 http2; # 监听端口并启用 HTTP/2
 
53
 
54
  server_name localhost;
55