|
|
|
@ -33,11 +33,12 @@ upstream im_open_rtc{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 11443;
|
|
|
|
|
server_name web.rentsoft.cn; #1 web im 端 域名
|
|
|
|
|
listen 443;
|
|
|
|
|
server_name test-web.rentsoft.cn; #1 web im 端 域名
|
|
|
|
|
|
|
|
|
|
ssl on;
|
|
|
|
|
ssl_certificate /etc/nginx/conf.d/ssl/web.rentsoft.cn.crt; #2 证书
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/web.rentsoft.cn.key; #3 证书
|
|
|
|
|
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_session_timeout 5m;
|
|
|
|
|
gzip on;
|
|
|
|
|
gzip_min_length 1k;
|
|
|
|
@ -140,17 +141,17 @@ server {
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
server_name web.rentsoft.cn ; #1 web im 端 域名
|
|
|
|
|
server_name test-web.rentsoft.cn ; #1 web im 端 域名
|
|
|
|
|
rewrite ^(.*)$ https://${server_name}$1 permanent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
ssl_session_timeout 5m;
|
|
|
|
|
listen 11443;
|
|
|
|
|
server_name storage.rentsoft.cn; #1 MinIO存储域名
|
|
|
|
|
listen 443;
|
|
|
|
|
server_name test-storage.rentsoft.cn; #1 MinIO存储域名
|
|
|
|
|
ssl on;
|
|
|
|
|
ssl_certificate /etc/nginx/conf.d/ssl/storage.rentsoft.cn.crt; #证书
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/storage.rentsoft.cn.key; #证书
|
|
|
|
|
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; #证书
|
|
|
|
|
gzip on;
|
|
|
|
|
gzip_min_length 1k;
|
|
|
|
|
gzip_buffers 4 16k;
|
|
|
|
@ -171,11 +172,11 @@ server {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 11443;
|
|
|
|
|
server_name admin.rentsoft.cn; #后台管理域名
|
|
|
|
|
listen 443;
|
|
|
|
|
server_name test-admin.rentsoft.cn; #后台管理域名
|
|
|
|
|
ssl on;
|
|
|
|
|
ssl_certificate /etc/nginx/conf.d/ssl/admin.rentsoft.cn.crt; # 证书
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/admin.rentsoft.cn.key; #证书
|
|
|
|
|
ssl_certificate /etc/nginx/conf.d/ssl/test-admin.rentsoft.cn.crt; # 证书
|
|
|
|
|
ssl_certificate_key /etc/nginx/conf.d/ssl/test-admin.rentsoft.cn.key; #证书
|
|
|
|
|
ssl_session_timeout 5m;
|
|
|
|
|
gzip on;
|
|
|
|
|
gzip_min_length 1k;
|
|
|
|
@ -197,6 +198,6 @@ server {
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
server_name admin.rentsoft.cn; #管理后台 域名
|
|
|
|
|
server_name test-admin.rentsoft.cn; #管理后台 域名
|
|
|
|
|
rewrite ^(.*)$ https://${server_name}$1 permanent;
|
|
|
|
|
}
|
|
|
|
|