diff --git a/config/open-im-ng-example.conf b/config/open-im-ng-example.conf index 71668c244..7df991293 100644 --- a/config/open-im-ng-example.conf +++ b/config/open-im-ng-example.conf @@ -1,20 +1,20 @@ upstream im_msg_gateway{ - server 127.0.0.1:10001; #IM消息服务器地址 根据部署情况可指定多台 + server 127.0.0.1:10001; #IM Message server address Multiple can be specified according to the deployment } upstream im_api{ - server 127.0.0.1:10002; #IM群组用户api服务器地址 根据部署情况可指定多台 + server 127.0.0.1:10002; #IM Group user api server address Multiple can be specified according to the deployment } upstream im_grafana{ - server 127.0.0.1:10007; #IM 统计服务器地址 docker-compose启动所在机器 + server 127.0.0.1:10007; #IM Statistical server address The machine where docker-compose starts } upstream im_chat_api{ - server 127.0.0.1:10008; #IM 商业版登录注册服务器地址 根据部署情况可指定多台 + server 127.0.0.1:10008; #IM Business version login registration server address Multiple can be specified according to the deployment } upstream im_admin_api{ - server 127.0.0.1:10009; #IM 商业版admin地址 根据部署情况可指定多台 + server 127.0.0.1:10009; #IM The admin address of the commercial version can specify multiple units according to the deployment situation } upstream im_open_rtc{ - server 127.0.0.1:7880; #rtc 音视频通话 服务器地址 根据部署情况可指定多台 + server 127.0.0.1:7880; #rtc Audio and video call server address Multiple devices can be specified according to the deployment } upstream minio_s3_2 { least_conn; @@ -27,11 +27,11 @@ upstream minio_console_2 { } server { listen 443; - server_name test-web.rentsoft.cn; #1 web im 端 域名 + server_name test-web.rentsoft.cn; #1 web im end domain name ssl on; - ssl_certificate /etc/nginx/conf.d/ssl/test-web.rentsoft.cn.crt; #2 证书 - ssl_certificate_key /etc/nginx/conf.d/ssl/test-web.rentsoft.cn.key; #3 证书 + ssl_certificate /etc/nginx/conf.d/ssl/test-web.rentsoft.cn.crt; #2 Certificate + ssl_certificate_key /etc/nginx/conf.d/ssl/test-web.rentsoft.cn.key; #3 Certificate ssl_session_timeout 5m; gzip on; gzip_min_length 1k; @@ -48,7 +48,7 @@ server { proxy_set_header X-Real-Ip $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-NginX-Proxy true; - root /data1/online/Pc-Web-Demo/build/; # web im静态资源存放路径 + root /data1/online/Pc-Web-Demo/build/; # web im static resource storage path index index.html; try_files $uri $uri/ /index.html; } @@ -104,7 +104,7 @@ server { server { listen 80; - server_name test-web.rentsoft.cn ; #1 web im 端 域名 + server_name test-web.rentsoft.cn ; #1 web im end domain name rewrite ^(.*)$ https://${server_name}$1 permanent; } @@ -114,8 +114,8 @@ server { server_name test-storage.rentsoft.cn; ssl on; - ssl_certificate /etc/nginx/conf.d/ssl/test-storage.rentsoft.cn.crt; #证书 - ssl_certificate_key /etc/nginx/conf.d/ssl/test-storage.rentsoft.cn.key; #证书 + ssl_certificate /etc/nginx/conf.d/ssl/test-storage.rentsoft.cn.crt; #Certificate + ssl_certificate_key /etc/nginx/conf.d/ssl/test-storage.rentsoft.cn.key; #Certificate gzip on; gzip_min_length 1k; gzip_buffers 4 16k;