+
+This project comes as a pre-built docker image that enables you to easily forward to your websites
+running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt.
+
+- [Quick Setup](#quick-setup)
+- [Full Setup](https://nginxproxymanager.com/setup/)
+- [Screenshots](https://nginxproxymanager.com/screenshots/)
+
+## Project Goal
+
+I created this project to fill a personal need to provide users with a easy way to accomplish reverse
+proxying hosts with SSL termination and it had to be so easy that a monkey could do it. This goal hasn't changed.
+While there might be advanced options they are optional and the project should be as simple as possible
+so that the barrier for entry here is low.
+
+
+
+
+## Features
+
+- Beautiful and Secure Admin Interface based on [Tabler](https://tabler.github.io/)
+- Easily create forwarding domains, redirections, streams and 404 hosts without knowing anything about Nginx
+- Free SSL using Let's Encrypt or provide your own custom SSL certificates
+- Access Lists and basic HTTP Authentication for your hosts
+- Advanced Nginx configuration available for super users
+- User management, permissions and audit log
+
+
+## Hosting your home network
+
+I won't go in to too much detail here but here are the basics for someone new to this self-hosted world.
+
+1. Your home router will have a Port Forwarding section somewhere. Log in and find it
+2. Add port forwarding for port 80 and 443 to the server hosting this project
+3. Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or [Amazon Route53](https://github.com/jc21/route53-ddns)
+4. Use the Nginx Proxy Manager as your gateway to forward to your other web based services
+
+## Quick Setup
+
+1. Install Docker and Docker-Compose
+
+- [Docker Install documentation](https://docs.docker.com/install/)
+- [Docker-Compose Install documentation](https://docs.docker.com/compose/install/)
+
+2. Create a docker-compose.yml file similar to this:
+
+```yml
+version: '3'
+services:
+ app:
+ image: 'jc21/nginx-proxy-manager:latest'
+ restart: unless-stopped
+ ports:
+ - '80:80'
+ - '81:81'
+ - '443:443'
+ volumes:
+ - ./data:/data
+ - ./letsencrypt:/etc/letsencrypt
+```
+
+3. Bring up your stack by running
+
+```bash
+docker-compose up -d
+
+# If using docker-compose-plugin
+docker compose up -d
+
+```
+
+4. Log in to the Admin UI
+
+When your docker container is running, connect to it on port `81` for the admin interface.
+Sometimes this can take a little bit because of the entropy of keys.
+
+[http://127.0.0.1:81](http://127.0.0.1:81)
+
+Default Admin User:
+```
+Email: admin@example.com
+Password: changeme
+```
+
+Immediately after logging in with this default user you will be asked to modify your details and change your password.
+
+
+## Contributors
+
+Special thanks to [all of our contributors](https://github.com/NginxProxyManager/nginx-proxy-manager/graphs/contributors).
+
+
+## Getting Support
+
+1. [Found a bug?](https://github.com/NginxProxyManager/nginx-proxy-manager/issues)
+2. [Discussions](https://github.com/NginxProxyManager/nginx-proxy-manager/discussions)
+3. [Development Gitter](https://gitter.im/nginx-proxy-manager/community)
+4. [Reddit](https://reddit.com/r/nginxproxymanager)
diff --git a/README.md b/README.md
index 8039364..a1fb27a 100644
--- a/README.md
+++ b/README.md
@@ -1,66 +1,35 @@
+
+[Original English README](https://github.com/xiaoxinpro/nginx-proxy-manager-zh/blob/develop-zh/README-en.md)
+
-This project comes as a pre-built docker image that enables you to easily forward to your websites
-running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt.
+本项目是基于 [NginxProxyManager/nginx-proxy-manager](https://github.com/NginxProxyManager/nginx-proxy-manager) 翻译的中文版本,该项目属于一个预构建的docker映像,它可以让你轻松地部署到你的网站上运行,包括免费的SSL,而不需要知道太多关于 Nginx 或 Let's Encrypt 的信息。
-- [Quick Setup](#quick-setup)
-- [Full Setup](https://nginxproxymanager.com/setup/)
-- [Screenshots](https://nginxproxymanager.com/screenshots/)
+
-## Project Goal
+## 快速部署
-I created this project to fill a personal need to provide users with a easy way to accomplish reverse
-proxying hosts with SSL termination and it had to be so easy that a monkey could do it. This goal hasn't changed.
-While there might be advanced options they are optional and the project should be as simple as possible
-so that the barrier for entry here is low.
+### 1. 环境部署
-
+安装Docker和Docker-compose
+- [Docker官方安装文档(英文)](https://docs.docker.com/install/)
+- [Docker-Compose官方安装文档(英文)](https://docs.docker.com/compose/install/)
+- **[Docker和Docker-compose安装文档(中文)](https://blog.csdn.net/zhangzejin3883/article/details/124778945)**
-## Features
+### 2. 创建YAML文件
-- Beautiful and Secure Admin Interface based on [Tabler](https://tabler.github.io/)
-- Easily create forwarding domains, redirections, streams and 404 hosts without knowing anything about Nginx
-- Free SSL using Let's Encrypt or provide your own custom SSL certificates
-- Access Lists and basic HTTP Authentication for your hosts
-- Advanced Nginx configuration available for super users
-- User management, permissions and audit log
-
-
-## Hosting your home network
-
-I won't go in to too much detail here but here are the basics for someone new to this self-hosted world.
-
-1. Your home router will have a Port Forwarding section somewhere. Log in and find it
-2. Add port forwarding for port 80 and 443 to the server hosting this project
-3. Configure your domain name details to point to your home, either with a static ip or a service like DuckDNS or [Amazon Route53](https://github.com/jc21/route53-ddns)
-4. Use the Nginx Proxy Manager as your gateway to forward to your other web based services
-
-## Quick Setup
-
-1. Install Docker and Docker-Compose
-
-- [Docker Install documentation](https://docs.docker.com/install/)
-- [Docker-Compose Install documentation](https://docs.docker.com/compose/install/)
-
-2. Create a docker-compose.yml file similar to this:
+创建一个 `docker-compose.yml` 文件:
```yml
version: '3'
services:
app:
- image: 'jc21/nginx-proxy-manager:latest'
- restart: unless-stopped
+ image: 'chishin/nginx-proxy-manager-zh:latest'
+ restart: always
ports:
- '80:80'
- '81:81'
@@ -70,40 +39,65 @@ services:
- ./letsencrypt:/etc/letsencrypt
```
-3. Bring up your stack by running
+### 3. 部署运行
```bash
docker-compose up -d
-
-# If using docker-compose-plugin
-docker compose up -d
-
```
-4. Log in to the Admin UI
+### 4. 登录管理页面
-When your docker container is running, connect to it on port `81` for the admin interface.
-Sometimes this can take a little bit because of the entropy of keys.
+当你的docker容器成功运行,使用浏览器访问`81`端口。
+有些时候需要稍等一段时间。
[http://127.0.0.1:81](http://127.0.0.1:81)
-Default Admin User:
+默认管理员信息:
```
Email: admin@example.com
Password: changeme
```
-Immediately after logging in with this default user you will be asked to modify your details and change your password.
+使用这个默认用户登录后,系统会立即要求您修改详细信息和密码。
+### 5. 快速升级
-## Contributors
+```bash
+docker-compose down
+docker-compose pull
+docker-compose up -d
+```
-Special thanks to [all of our contributors](https://github.com/NginxProxyManager/nginx-proxy-manager/graphs/contributors).
+这个项目将自动更新任何数据库或其他要求,所以你不必遵循任何疯狂的指示。上面的这些步骤将提取最新的更新并重新创建docker容器。
+## 更多
-## Getting Support
+### 1. 官方文档(英文)
-1. [Found a bug?](https://github.com/NginxProxyManager/nginx-proxy-manager/issues)
-2. [Discussions](https://github.com/NginxProxyManager/nginx-proxy-manager/discussions)
-3. [Development Gitter](https://gitter.im/nginx-proxy-manager/community)
-4. [Reddit](https://reddit.com/r/nginxproxymanager)
+关于本应用的更多用法请访问官方文档:
+
+- [项目源码](https://github.com/NginxProxyManager/nginx-proxy-manager)
+- [项目官网](https://nginxproxymanager.com/)
+- [安装手册](https://nginxproxymanager.com/setup/)
+- [高级配置](https://nginxproxymanager.com/advanced-config/#best-practice-use-a-docker-network)
+- [常见问题](https://nginxproxymanager.com/faq/#do-i-have-to-use-docker)
+
+### 2. 替换中文镜像
+
+当你使用官方示例的`docker-compose`时需要注意,将image镜像`jc21/nginx-proxy-manager`替换为`chishin/nginx-proxy-manager-zh`即可实现中文部署。
+
+### 3. 关于中文镜像
+
+中文镜像并没有重新构建后端代码,由[Dockerfile-zh](https://github.com/xiaoxinpro/nginx-proxy-manager-zh/blob/develop-zh/docker/Dockerfile-zh)文件可以得知,中文镜像基于官方镜像替换前端代码来实现的,所以中文版本的全部功能与官方版本完全相同,只是显示界面的文字不同的区别。
+
+## 捐赠
+
+如果您觉得本项目对你有帮助,欢迎给予我们一定的捐助来翻译项目的长期发展。
+
+### 支付宝扫码捐赠
+
+
+
+### 微信扫描捐赠
+
+
diff --git a/docker/Dockerfile-zh b/docker/Dockerfile-zh
new file mode 100644
index 0000000..488e375
--- /dev/null
+++ b/docker/Dockerfile-zh
@@ -0,0 +1,21 @@
+FROM jc21/nginx-proxy-manager:2.9.19
+
+ENV NPM_LANGUAGE="zh"
+
+EXPOSE 80 81 443
+
+RUN rm -rf /app/frontend
+COPY frontend/dist /app/frontend
+
+WORKDIR /app
+
+VOLUME [ "/data", "/etc/letsencrypt" ]
+ENTRYPOINT [ "/init" ]
+
+LABEL org.label-schema.schema-version="1.0" \
+ org.label-schema.license="MIT" \
+ org.label-schema.name="nginx-proxy-manager-zh" \
+ org.label-schema.description="Docker container for managing Nginx proxy hosts with a simple, powerful interface " \
+ org.label-schema.url="https://github.com/xiaoxinpro/nginx-proxy-manager-zh" \
+ org.label-schema.vcs-url="https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git" \
+ org.label-schema.cmd="docker run --rm -ti chishin/nginx-proxy-manager-zh:latest"
diff --git a/frontend/html/index.ejs b/frontend/html/index.ejs
index ae08b01..838d138 100644
--- a/frontend/html/index.ejs
+++ b/frontend/html/index.ejs
@@ -1,4 +1,4 @@
-<% var title = 'Nginx Proxy Manager' %>
+<% var title = 'Nginx 代理管理器' %>
<%- include partials/header.ejs %>
diff --git a/frontend/html/login.ejs b/frontend/html/login.ejs
index bc4b9a2..a217733 100644
--- a/frontend/html/login.ejs
+++ b/frontend/html/login.ejs
@@ -1,4 +1,4 @@
-<% var title = 'Login – Nginx Proxy Manager' %>
+<% var title = '登录 – Nginx 代理管理器' %>
<%- include partials/header.ejs %>