|
|
|
@ -17,21 +17,21 @@ upstream im_open_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;
|
|
|
|
|
server 127.0.0.1:10005;
|
|
|
|
|
least_conn;
|
|
|
|
|
server 127.0.0.1:10005;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
upstream minio_console_2 {
|
|
|
|
|
least_conn;
|
|
|
|
|
server 127.0.0.1:9090;
|
|
|
|
|
least_conn;
|
|
|
|
|
server 127.0.0.1:9090;
|
|
|
|
|
}
|
|
|
|
|
server {
|
|
|
|
|
listen 443;
|
|
|
|
|
server_name test-web.rentsoft.cn; #1 web im end domain name
|
|
|
|
|
server_name your-domain.com; #your-domain.com
|
|
|
|
|
|
|
|
|
|
ssl on;
|
|
|
|
|
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_certificate /etc/nginx/conf.d/ssl/your-domain.com.crt; #2 Certificate
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/your-domain.com.key; #3 Certificate
|
|
|
|
|
ssl_session_timeout 5m;
|
|
|
|
|
gzip on;
|
|
|
|
|
gzip_min_length 1k;
|
|
|
|
@ -112,10 +112,10 @@ server {
|
|
|
|
|
server {
|
|
|
|
|
listen 443;
|
|
|
|
|
|
|
|
|
|
server_name test-storage.rentsoft.cn;
|
|
|
|
|
server_name your-domain.com; #your-domain.com
|
|
|
|
|
ssl on;
|
|
|
|
|
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
|
|
|
|
|
ssl_certificate /etc/nginx/conf.d/ssl/your-domain.com.crt; #Certificate
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/your-domain.com.key; #Certificate
|
|
|
|
|
gzip on;
|
|
|
|
|
gzip_min_length 1k;
|
|
|
|
|
gzip_buffers 4 16k;
|
|
|
|
|