Skip to content

Commit 8d01de1

Browse files
committed
docs: update version 1.1.1
1 parent 8b4c855 commit 8d01de1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you use docker, you can use the following command ([DockerHub](https://hub.do
2222

2323
```bash
2424
docker pull soulteary/nginx-formatter:latest
25-
docker pull soulteary/nginx-formatter:v1.1.0
25+
docker pull soulteary/nginx-formatter:v1.1.1
2626
```
2727

2828
## Usage
@@ -74,13 +74,13 @@ specified the port:
7474
There is no difference between using parameters in Docker and the above, for example, we start a Web UI formatting tool service in Docker:
7575

7676
```bash
77-
docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.0 -web
77+
docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.1 -web
7878
```
7979

8080
If you want to format the configuration of the current directory, you can use the program in Docker with a command similar to the following:
8181

8282
```bash
83-
docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.0 -input=/app
83+
docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.1 -input=/app
8484
```
8585

8686
## Full parameters supported

README_CN.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
```bash
2424
docker pull soulteary/nginx-formatter:latest
25-
docker pull soulteary/nginx-formatter:v1.1.0
25+
docker pull soulteary/nginx-formatter:v1.1.1
2626
```
2727

2828
## 程序使用
@@ -74,14 +74,14 @@ docker pull soulteary/nginx-formatter:v1.1.0
7474
在 Docker 中使用和上面没有什么区别,比如我们启动一个在 Docker 中的 Web UI 格式化工具服务:
7575

7676
```bash
77-
docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.0 -web
77+
docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.1 -web
7878
```
7979

8080

8181
如果你希望格式化当前目录的配置,可以通过类似下面的命令,来使用 Docker 中的程序:
8282

8383
```bash
84-
docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.0 -input=/app
84+
docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.1 -input=/app
8585
```
8686

8787

0 commit comments

Comments
 (0)