Update nginx.conf
Browse files- nginx.conf +2 -2
nginx.conf
CHANGED
|
@@ -46,8 +46,8 @@ http {
|
|
| 46 |
}
|
| 47 |
|
| 48 |
server {
|
| 49 |
-
listen
|
| 50 |
-
listen [::]:
|
| 51 |
server_name localhost;
|
| 52 |
|
| 53 |
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
server {
|
| 49 |
+
listen 3001 reuseport; # 启用端口重用
|
| 50 |
+
listen [::]:3001 reuseport;
|
| 51 |
server_name localhost;
|
| 52 |
|
| 53 |
|