From 6bdbde262f5ab3b5fa180459d7a9bcf8e62e505c Mon Sep 17 00:00:00 2001 From: zhangkaihuai Date: Wed, 19 Mar 2025 07:34:04 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20nginx.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 50961c8..8a98e07 100644 --- a/nginx.conf +++ b/nginx.conf @@ -29,7 +29,7 @@ http { server { listen 80; listen [::]:80; - server_name www.abc.com; + server_name mosr.feashow.cn; return 301 https://$host$request_uri; # 强制跳转HTTPS } # 新增HTTPS服务器块 @@ -38,7 +38,7 @@ http { listen [::]:443 ssl; server_name www.abc.com; - # SSL证书配置(路径根据实际位置调整) + # SSL证书配置 ssl_certificate /etc/nginx/mosr.feashow.cn_chain.crt; ssl_certificate_key /etc/nginx/private.key;