diff --git a/README.md b/README.md index 15396776..0cdcd99e 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,12 @@ cd dootask ### NGINX PROXY SSL ```bash -# 1、nginx config add +# 1、Nginx config add +proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -# 2、execute command +# 2、Enter directory and run command ./cmd https ``` @@ -79,7 +81,7 @@ proxy_set_header X-Forwarded-Proto $scheme; **Note: Please back up your data before upgrading!** ```bash -# Method 1: Enter directory and run command +# Method 1: enter directory and run command ./cmd update # Or method 2: use this method if method 1 fails diff --git a/README_CN.md b/README_CN.md index 1679f6ed..0bb9a765 100644 --- a/README_CN.md +++ b/README_CN.md @@ -67,10 +67,12 @@ cd dootask ### NGINX 代理 SSL ```bash -# 1、nginx 代理配置添加 +# 1、Nginx 代理配置添加 +proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -# 2、执行命令 +# 2、进入项目所在目录,运行以下命令 ./cmd https ``` @@ -79,7 +81,7 @@ proxy_set_header X-Forwarded-Proto $scheme; **注意:在升级之前请备份好你的数据!** ```bash -# 方法1:进入项目所在目录,运行一下命令即可 +# 方法1:进入项目所在目录,运行以下命令 ./cmd update # (或者)方法2:如果方法1失败请使用此方法 @@ -93,6 +95,6 @@ git pull ## 卸载项目 ```bash -# 进入项目所在目录,运行一下命令即可 +# 进入项目所在目录,运行以下命令 ./cmd uninstall ```