forked from yangpeng14/DevOps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yangpeng
committed
Mar 14, 2021
1 parent
c617443
commit 2f8bd57
Showing
7 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## Nginx 配置可视化UI展示 | ||
|
||
![Login](../img/nginx-login.png) | ||
|
||
![Home](../img/nginx-home.png) | ||
|
||
![Upstream](../img/nginx-upstream.png) | ||
|
||
![listen](../img/nginx-lisner.png) | ||
|
||
![Location](../img/nginx-location.png) | ||
|
||
![Conf](../img/nginx-conf.png) | ||
|
||
## 功能 | ||
|
||
- Nginx 可视化管理 | ||
- Nginx 配置管理 | ||
- Nginx 性能监控 | ||
|
||
## 部署 | ||
|
||
### 快速部署 | ||
|
||
```bash | ||
docker run --detach \ | ||
--publish 80:80 --publish 8889:8889 \ | ||
--name nginx_ui \ | ||
--restart always \ | ||
crazyleojay/nginx_ui:latest | ||
``` | ||
|
||
### 数据持久化部署 | ||
|
||
`配置文件路径`:/usr/local/nginx/conf/nginx.conf | ||
|
||
```bash | ||
docker run --detach \ | ||
--publish 80:80 --publish 8889:8889 \ | ||
--name nginx_ui \ | ||
--restart always \ | ||
--volume /home/nginx.conf:/usr/local/nginx/conf/nginx.conf \ | ||
crazyleojay/nginx_ui:latest | ||
``` | ||
|
||
> 项目地址:https://github.com/onlyGuo/nginx-gui | ||
## 小结 | ||
|
||
该项目适用于`测试环境`或者`本地开发环境`不适合`生产环境`,提供给不懂Nginx配置人员使用,通过Web界面能简单的配置。 | ||
|
||
## 参考链接 | ||
|
||
- https://github.com/onlyGuo/nginx-gui |