# go更改nginx配置 **Repository Path**: user_ye/goUip ## Basic Information - **Project Name**: go更改nginx配置 - **Description**: go更改nginx配置 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-05-08 - **Last Updated**: 2025-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 正则匹配ip 实现替换ip ## 版本不一致自行修改下 `go.mod` 第三行 `go 1.22.2` ### 服务端 ``` # 复制 copy config.yaml.example config.yaml # 配置 config.yaml文件 # 运行 go run main.go # 编译 go build main.go ``` ### 客户端 自行配置 client/main.go 下的 请求路径 用户名和密码 ``` # 运行 go run ./client/main.go # 编译 window加client.exe go build -o client\client.exe .\client\main.go ```