# 37point2.cn

创建目录

```bash
mkdir -p /var/www/37point2.cn
```

下载配置

```bash
curl -fSL https://i.37point2.cn/i/script/raw/main/nginx/37point2.cn/index.html > /var/www/37point2.cn/index.html
```

```bash
curl -fSL https://i.37point2.cn/i/script/raw/main/nginx/37point2.cn/nginx.conf > /etc/nginx/sites-available/37point2.cn
```

启用配置

```bash
ln -s /etc/nginx/sites-available/37point2.cn /etc/nginx/sites-enabled/
```

修改配置

```bash
vim /etc/nginx/sites-available/37point2.cn
```

测试配置

```bash
nginx -t
```

重启 nginx

```bash
systemctl restart nginx
```
