<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,target-densitydpi=high-dpi,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<title>启用HTTPS的详细步骤、配置要点及注意事项-思洋互动</title>
		<meta name="keywords" content="启用HTTPS的详细步骤、配置要点及注意事项">
	    <meta name="description" content="启用HTTPS（SSL/TLS加密）是保障网站数据传输安全的核心措施，可防止用户信息（如登录密码、支付数据）在传输过程中被窃取或篡改。以下是启用HTTPS的详细步骤、配置要点及注意事项：">
		<meta name="renderer" content="webkit" />
		<link href="/css/main.css?v=39" rel="stylesheet">
		<link href="/css/base.css?v=39" rel="stylesheet">
        <link href="/css/swiper-3.4.2.min.css" rel="stylesheet">
		<script type="text/javascript" src="/js/jquery.min.js"></script>
        <script type="text/javascript" src="/js/swiper-3.4.2.min.js"></script>
		<!--[if lt IE 9]>
            <script src="/js/html5shiv.min.js"></script>
            <script src="/js/respond.min.js"></script>
            <link href="/css/ie.css" rel="stylesheet">
        <![endif]-->
		<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?8914d517c927d8e794148d05e387fb17";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<link rel="canonical" href="https://www.ciya.cn/article/7968.html">
		</head>
	<body class="no-banner">
		<div class="container">
			<div class="header">
	<div class="header-top">
		<div class="w1700">
			<a href="https://www.ciya.cn/"><img src="/images/logo.png?v=2"></a>
		</div>
	</div>
	<div class="header_b">
		<header class="slide">
			<div id="navToggle" class="menu-handler">
				<span class="burger burger-1 trans"></span>
				<span class="burger burger-2 trans-fast"></span>
				<span class="burger burger-3 trans"></span>
			</div>
		</header>
	</div>
	<nav class="slide">
		<div class="w1700">
			<a class="index" href="/"></a>
			<ul>
								<li><a href="https://www.ciya.cn/case/12.html">项目案例</a></li>
								<li><a href="https://www.ciya.cn/website/9.html">网站建设</a></li>
								<li><a href="https://www.ciya.cn/marketing/10.html">网络营销</a></li>
								<li><a href="https://www.ciya.cn/media/11.html">新媒体</a></li>
								<li class="active"><a href="https://www.ciya.cn/news/16.html">动态</a></li>
								<li><a href="https://www.ciya.cn/about/8.html">关于</a></li>
								<li><a href="https://www.ciya.cn/contact/13.html">联系</a></li>
							</ul>
		</div>
	</nav>
</div>            <div class="content slide">
                <div class="position bgf1">
                    <div class="w1700">
                        <a href="https://www.ciya.cn/">首页 ></a>
                        <a href="https://www.ciya.cn/news/16.html">动态 ></a>
                        <a href="https://www.ciya.cn/news/35.html">网站知识</a>
                    </div>
                </div>
                <div class="case-type">
                    <div class="w1700">
                                                <a href="https://www.ciya.cn/news/32.html" >品牌合作</a>
                                                <a href="https://www.ciya.cn/news/31.html" >新闻动态</a>
                                                <a href="https://www.ciya.cn/news/38.html" >网站建设</a>
                                                <a href="https://www.ciya.cn/news/41.html" >网站制作</a>
                                                <a href="https://www.ciya.cn/news/40.html" >网站设计</a>
                                                <a href="https://www.ciya.cn/news/42.html" >运营推广</a>
                                                <a href="https://www.ciya.cn/news/35.html"  class="active">网站知识</a>
                                            </div>
                </div>
                <div class="padding-tb80">
                    <div class="w1700 clear">
                        <div class="fl xwxq-l">
                            <div class="noselettext">
                                <div class="xwxq-title mg-bt60 wow slideUp">
                                    <h1 class="mg-bt35">启用HTTPS的详细步骤、配置要点及注意事项</h1>
                                    <span>时间：2023-11-11</span>
                                </div>
                                <div class="edit2 mg-bt60 wow slideUp">
                                                                        <p style="margin-top: 0px; margin-bottom: 24px; text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);">启用HTTPS（SSL/TLS加密）是保障网站数据传输安全的核心措施，可防止用户信息（如登录密码、支付数据）在传输过程中被窃取或篡改。以下是启用HTTPS的详细步骤、配置要点及注意事项：</p><h3 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 20px; line-height: 30px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">一、HTTPS启用流程：从证书申请到部署的全链路指南</span></h3><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">1. 购买或申请SSL/TLS证书</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">证书类型选择</span><p>：</p></li><ul class=" list-paddingleft-2" style="list-style-type: square;"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">DV（域名验证）证书</span><p>：验证域名所有权即可快速签发（如Let&#39;s Encrypt免费证书），适合个人博客、小型企业站。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">OV（组织验证）证书</span><p>：需验证企业身份（如营业执照），适合电商平台、金融机构，增强用户信任。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">EV（扩展验证）证书</span><p>：严格验证企业资质，浏览器地址栏显示绿色企业名称，适合银行、政府网站。</p></li></ul><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">推荐证书服务商</span><p>：</p></li><ul class=" list-paddingleft-2" style="list-style-type: square;"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">免费证书</span><p>：Let&#39;s Encrypt（90天有效期，需自动续期）、ZeroSSL。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">付费证书</span><p>：DigiCert、GlobalSign、阿里云SSL证书、腾讯云SSL证书（支持1年-2年有效期，提供技术支持）。</p></li></ul></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">2. 生成证书签名请求（CSR）</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">通过服务器生成CSR</span><p>（以Nginx为例）：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">bashopenssl&nbsp;req&nbsp;-new&nbsp;-newkey&nbsp;rsa:2048&nbsp;-nodes&nbsp;-keyout&nbsp;/path/to/private.key&nbsp;-out&nbsp;/path/to/csr.csr</pre></li><ul class=" list-paddingleft-2" style="list-style-type: square;"><li><p>填写信息：国家（CN）、省份、城市、组织名称、域名（Common Name需与网站域名一致）。</p></li><li><p>生成文件：<code class=" inline" node="[object Object]" style="box-sizing: border-box; padding: 1px 4px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px 2px; scrollbar-width: none; font-size: 13.6px; tab-size: 4; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px;">private.key</code>（私钥，需严格保密）、<code class=" inline" node="[object Object]" style="box-sizing: border-box; padding: 1px 4px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px 2px; scrollbar-width: none; font-size: 13.6px; tab-size: 4; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px;">csr.csr</code>（提交给证书服务商）。</p></li></ul></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">3. 提交CSR并获取证书</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><p>登录证书服务商控制台，上传CSR文件或在线填写域名信息。</p></li><li><p>完成验证（DV证书通过邮箱/DNS记录验证；OV/EV证书需提交企业资料）。</p></li><li><p>下载证书文件（通常包含<code class=" inline" node="[object Object]" style="box-sizing: border-box; padding: 1px 4px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px 2px; scrollbar-width: none; font-size: 13.6px; tab-size: 4; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px;">.crt</code>、<code class=" inline" node="[object Object]" style="box-sizing: border-box; padding: 1px 4px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px 2px; scrollbar-width: none; font-size: 13.6px; tab-size: 4; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px;">.pem</code>或<code class=" inline" node="[object Object]" style="box-sizing: border-box; padding: 1px 4px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px 2px; scrollbar-width: none; font-size: 13.6px; tab-size: 4; background-color: rgba(27, 31, 35, 0.05); border-radius: 3px;">.pfx</code>格式）。</p></li></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">4. 配置服务器启用HTTPS</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Nginx配置示例</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;"><code class="language-nginx " data-theme="light" style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; margin: 0px; scrollbar-width: none; font-size: 1em; tab-size: 4; --header-bg-color: #f5f5f5; --code-block-border-color: #f0f0f0; --header-text-color: #06071f; --header-icon-hover-color: rgba(6,7,31,.06); --body-bg-color: #fff; --line-text-color: rgba(37,41,46,.6); --left-offset: 1; --scroll-bar-color: rgba(6,7,31,.1); --scroll-bar-hover-color: rgba(6,7,31,.2); --code-primary-color: #24292e; --code-keyword-color: #d73a49; --code-entity-color: #6f42c1; --code-constant-color: #005cc5; --code-string-color: #032f62; --code-variable-color: #e36209; --code-comment-color: #6a737d; --code-entity-tag-color: #22863a; --code-modifier-import-color: #24292e; --code-markup-heading-color: #005cc5; --code-markup-list-color: #735c0f; --code-markup-italic-bold-color: #24292e; --code-markup-inserted-color: #22863a; --code-markup-deleted-color: #b31d28; --body-bg-color-new: #f5f5f5; --scroll-bar-color-new: #d9d9d9; --scroll-bar-hover-color-new: #ccc;"><div class="code-header" style="box-sizing: border-box; padding: 0px 16px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; align-items: center; background: var(--header-bg-color); border-bottom: 0 var(--code-block-border-color); border-radius: 7px 7px 0px 0px; display: flex; height: 34px;"><span class="code-lang" style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: &quot;PingFang SC&quot;; list-style: none; margin: 0px; scrollbar-width: none; color: var(--header-text-color); flex: 1 0 auto; font-size: 14px; line-height: normal; text-align: justify;">nginx</span><span class="code-theme" style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px 10px 0px 0px; scrollbar-width: none; align-items: center; border-radius: 4px; cursor: pointer; display: flex; user-select: none;"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none"><path d="M6.397 13.526c-.17-.036-.315.137-.228.288a5.66 5.66 0 106.27-8.319c-.168-.042-.295.145-.213.298a5.335 5.335 0 01-5.83 7.733z" stroke="#06071F" stroke-opacity="0.6" stroke-width="1.24"></path><path d="M7.146 5.103a.124.124 0 00-.12.114 2.254 2.254 0 01-2.022 2.028.119.119 0 00-.11.12c0 .063.05.115.112.12A2.25 2.25 0 017.03 9.511a.119.119 0 00.12.109h.011a.121.121 0 00.12-.112c.1-1.07.951-1.922 2.02-2.026a.119.119 0 00.11-.12.121.121 0 00-.11-.12 2.246 2.246 0 01-2.02-2.028.121.121 0 00-.12-.111h-.014z" fill="#06071F" fill-opacity="0.6"></path></svg></span><span class="code-copy" style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; align-items: center; border-radius: 4px; cursor: pointer; display: flex; user-select: none;"><svg xmlns="http://www.w3.org/2000/svg" width="23" height="22" fill="none"><path clip-rule="evenodd" d="M5.9 8.6c0-.49.398-.888.889-.888h7.11c.492 0 .89.398.89.889v7.11c0 .492-.398.89-.89.89H6.79a.889.889 0 01-.89-.89v-7.11z" stroke="#06071F" stroke-opacity="0.6" stroke-width="1.244"></path><path d="M9.1 5.4h6.222c.982 0 1.778.795 1.778 1.777V13.4" stroke="#06071F" stroke-opacity="0.6" stroke-width="1.244" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></div><div class="code-wrapper-outter" style="box-sizing: border-box; padding: 0px 0px 3px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; border-top: 0px; border-radius: 0px 0px 8px 8px; display: grid; grid-template-columns: repeat(1, minmax(0px, 1fr)); background: var(--body-bg-color);"><div class="code-wrapper" style="box-sizing: border-box; padding: 14px 14px 14px 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: auto; background: var(--body-bg-color); border-top: 0px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; overflow: auto;"><table class="hljs hljs-ln"><tbody style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><tr class="firstRow" style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="1" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="1" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">server {</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="2" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="2" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">listen 443 ssl;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="3" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="3" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">server_name example.com;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="4" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="4" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><br/></td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="5" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="5" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">ssl_certificate /path/to/certificate.crt; &nbsp;# 证书文件路径</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="6" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="6" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">ssl_certificate_key /path/to/private.key; &nbsp;# 私钥文件路径</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="7" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="7" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">ssl_protocols TLSv1.2 TLSv1.3; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# 禁用不安全协议</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="8" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="8" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">ssl_ciphers &#39;ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256&#39;; # 推荐加密套件</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="9" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="9" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">ssl_prefer_server_ciphers on;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="10" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="10" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><br/></td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="11" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="11" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"># 启用HSTS（强制HTTPS）</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="12" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="12" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">add_header Strict-Transport-Security &quot;max-age=31536000; includeSubDomains&quot; always;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="13" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="13" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><br/></td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="14" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="14" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"># 其他配置（如根目录、日志等）</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="15" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="15" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">root /var/www/html;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="16" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="16" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">index index.html;</td></tr><tr style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;"><td class="hljs-ln-line hljs-ln-numbers" data-line-number="17" width="0" style="padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px; color: var(--line-text-color); letter-spacing: 0px; overflow: hidden; text-align: right; user-select: none; vertical-align: top; white-space-collapse: collapse;"><br/></td><td class="hljs-ln-line hljs-ln-code" data-line-number="17" style="padding: 0px 0px 0px 58px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style: none; margin: 0px; scrollbar-width: none; line-height: 22px;">}</td></tr></tbody></table></div></div></code></pre></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Apache配置示例</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">apache&lt;VirtualHost&nbsp;*:443&gt;ServerName&nbsp;example.comSSLEngine&nbsp;onSSLCertificateFile&nbsp;/path/to/certificate.crtSSLCertificateKeyFile&nbsp;/path/to/private.keySSLProtocol&nbsp;all&nbsp;-SSLv2&nbsp;-SSLv3&nbsp;-TLSv1&nbsp;-TLSv1.1&nbsp;&nbsp;#&nbsp;禁用不安全协议SSLCipherSuite&nbsp;HIGH:!aNULL:!MD5:!kRSA&nbsp;&nbsp;#&nbsp;推荐加密套件&lt;/VirtualHost&gt;</pre></li></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">5. 强制HTTP跳转HTTPS</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Nginx跳转规则</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">nginxserver&nbsp;{listen&nbsp;80;server_name&nbsp;example.com;return&nbsp;301&nbsp;https://$server_name$request_uri;&nbsp;&nbsp;#&nbsp;永久重定向到HTTPS}</pre></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Apache跳转规则</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">apacheRewriteEngine&nbsp;OnRewriteCond&nbsp;%{HTTPS}&nbsp;offRewriteRule&nbsp;^(.*)$&nbsp;https://%{HTTP_HOST}%{REQUEST_URI}&nbsp;[L,R=301]</pre></li></ul><h3 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 20px; line-height: 30px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">二、HTTPS性能优化：平衡安全与速度</span></h3><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">1. 选择现代协议与加密套件</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">禁用不安全协议</span><p>：SSLv2、SSLv3、TLSv1.0、TLSv1.1（已存在漏洞，如POODLE、BEAST攻击）。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">启用TLSv1.2/TLSv1.3</span><p>：支持更高效的加密算法（如AES-GCM、ChaCha20-Poly1305）。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">推荐加密套件</span><p>（以Nginx为例）：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">nginxssl_ciphers&nbsp;&#39;ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305&#39;;</pre></li></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">2. 启用OCSP Stapling</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">作用</span><p>：减少证书状态查询时间，提升TLS握手速度。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Nginx配置</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">nginxssl_stapling&nbsp;on;ssl_stapling_verify&nbsp;on;resolver&nbsp;8.8.8.8&nbsp;8.8.4.4&nbsp;valid=300s;&nbsp;&nbsp;#&nbsp;指定DNS解析服务器</pre></li></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">3. 启用HTTP/2或HTTP/3</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">HTTP/2</span><p>：支持多路复用、头部压缩，减少连接建立时间。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">HTTP/3</span><p>：基于QUIC协议，进一步降低延迟（需服务器和浏览器同时支持）。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">Nginx配置</span><p>：</p><pre style="margin-top: 8px; margin-bottom: 8px; padding: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; list-style: none; scrollbar-width: none; font-size: 1em; overflow: auto; position: relative;">nginxlisten&nbsp;443&nbsp;ssl&nbsp;http2;&nbsp;&nbsp;#&nbsp;启用HTTP/2#&nbsp;或（需Nginx&nbsp;1.25+）listen&nbsp;443&nbsp;ssl&nbsp;http3;&nbsp;&nbsp;#&nbsp;启用HTTP/3</pre></li></ul><h4 style="text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFangSC-Semibold; list-style: none; margin: 14px 0px 18px; scrollbar-width: none; color: rgb(13, 13, 13); font-size: 18px; line-height: 28px; border: none; background-color: rgb(255, 255, 255);"><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">4. 使用CDN加速HTTPS</span></h4><ul class=" list-paddingleft-2" style="margin-top: 14px; margin-bottom: 24px; width: 934.797px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; text-wrap: wrap; box-sizing: border-box; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);"><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">优势</span><p>：CDN节点缓存静态资源，减少源站压力；全球节点分发降低用户访问延迟。</p></li><li><span style="box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Ubuntu, &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, &quot;Source Han Sans CN&quot;, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;; list-style: none; margin: 0px; scrollbar-width: none; font-weight: 600; max-width: 100%; overflow-wrap: break-word; word-break: break-all;">配置步骤</span><p>：</p></li><ol class=" list-paddingleft-2" style="margin-top: 14px; margin-left: -10px; width: 859.547px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; box-sizing: border-box; -webkit-font-smoothing: antialiased; list-style-position: outside; list-style-image: none; scrollbar-width: none; line-height: 1.7;"><li><p>在CDN控制台上传证书（或使用CDN提供的免费证书）。</p></li><li><p>开启“强制HTTPS”和“HTTP/2”选项。</p></li><li><p>修改DNS记录，将域名解析至CDN提供的CNAME地址。</p></li></ol></ul><p style="margin-top: 14px; margin-bottom: 0px; text-wrap: wrap; box-sizing: border-box; padding: 0px; -webkit-font-smoothing: antialiased; font-family: PingFang-SC-Regular; list-style: none; scrollbar-width: none; line-height: 1.7; color: rgb(13, 13, 13); background-color: rgb(255, 255, 255);">通过以上步骤，可确保网站安全、高效地运行HTTPS，保护用户数据的同时提升用户体验。</p>                                </div>
                            </div>
                                                        <div class="xwxq-bot bgf1 wow slideUp">
                                <div class="xwxq-fy clear">
                                    <a class="fl" href="/article/7976.html"><i></i>小程序网站搜索引擎怎么使用</a>
                                    <a class="fr" href="/article/7967.html"><i></i>网站建设数据分析与流量监控实用指南</a>
                                </div>
                                <a class="fhlb" href="#"></a>
                            </div>
                        </div>
                        <div class="fr xwxq-r">
                            <div class="xwxq-tj-page bgf1 mg-bt40 wow slideUp">
                                <div class="xwxq-tj-warp bgfff">
                                    <div class="tjxw-title mg-bt30">
                                        <h3>最新案例</h3><span>LATEST CASES</span>
                                    </div>
                                    <div class="zxal">
                                        <div class="swiper-container">
                                            <div class="swiper-wrapper">
                                                                                                        <div class="imgscale li swiper-slide">
                                                        <a href="https://www.ciya.cn/article/409.html">
                                                            <div class="img100 mg-bt20"><img src="/upload/20211214/20211214103120.jpg" alt="广州呼吸研究院"/></div>
                                                            <p>广州呼吸研究院</p>
                                                        </a>
                                                    </div>
                                                                                                        <div class="imgscale li swiper-slide">
                                                        <a href="https://www.ciya.cn/article/433.html">
                                                            <div class="img100 mg-bt20"><img src="/upload/20211214/20211214102846.jpg" alt="融创集团"/></div>
                                                            <p>融创集团</p>
                                                        </a>
                                                    </div>
                                                                                                        <div class="imgscale li swiper-slide">
                                                        <a href="https://www.ciya.cn/article/268.html">
                                                            <div class="img100 mg-bt20"><img src="/upload/20211214/20211214102923.jpg" alt="粤海集团"/></div>
                                                            <p>粤海集团</p>
                                                        </a>
                                                    </div>
                                                                                                        <div class="imgscale li swiper-slide">
                                                        <a href="https://www.ciya.cn/article/414.html">
                                                            <div class="img100 mg-bt20"><img src="/upload/20211216/20211216115258.jpg" alt="恒大足球学校"/></div>
                                                            <p>恒大足球学校</p>
                                                        </a>
                                                    </div>
                                                                                                        <div class="imgscale li swiper-slide">
                                                        <a href="https://www.ciya.cn/article/477.html">
                                                            <div class="img100 mg-bt20"><img src="/upload/20211214/20211214102958.jpg" alt="侨鑫集团"/></div>
                                                            <p>侨鑫集团</p>
                                                        </a>
                                                    </div>
                                                                                                </div>
                                        </div>
                                        <div class="zxalDot text-center swiperDot"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="xwxq-tj-page bgf1 mg-bt40 wow slideUp">
                                <div class="xwxq-tj-warp bgfff">
                                    <div class="tjxw-title tjxw-title-line mg-bt20">
                                        <h3>热点新闻</h3><span>TOP NEWS</span>
                                    </div>
                                    <ul class="rdxw">
                                                                                <li><a href="https://www.ciya.cn/article/3559.html">1  java heap space(解决方法)</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/1222.html">2  如何在网站后台上传附件</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/1643.html">3  如何在网站后台上传PDF文件</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/1142.html">4  什么是流？</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/3543.html">5  java swing还有人用吗(swing为什么会被淘汰)</a></li>
                                                                            </ul>
                                </div>
                            </div>
                            <div class="xwxq-tj-page bgf1 wow slideUp">
                                <div class="xwxq-tj-warp bgfff">
                                    <div class="tjxw-title tjxw-title-line mg-bt20">
                                        <h3>最新动态</h3><span>NEWS</span>
                                    </div>
                                    <ul class="rdxw">
                                                                                <li><a href="https://www.ciya.cn/article/7318.html">1  商务网站的维护与更新：持续优化，保持竞争力</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7317.html">2  商务网站的社交媒体营销：扩大品牌影响力，吸引更多潜在客户</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7316.html">3  商务网站的广告投放：增加收益，提高知名度</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7315.html">4  商务网站的在线客户服务：提供优质客服，提升用户满意度</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7314.html">5  商务网站的支付系统集成：安全、便捷的交易方式</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7313.html">6  商务网站搜索引擎优化（SEO）：提升排名，增加流量</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7312.html">7  商务网站响应式设计：实现多设备兼容，提升用户体验</a></li>
                                                                                <li><a href="https://www.ciya.cn/article/7311.html">8  商务网站开发：选择合适的编程语言和技术栈</a></li>
                                                                            </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="footerbox">
	<div class="footer">
		<div class="w1700">
			<ul>
				<li>
					<span class="fttitle">思洋 · 广州总部</span>
					<div>
						<p>广州天河区珠江新城富力盈力大厦北塔2706</p>
						<p>020-38013166（网站咨询专线）</p>
					</div>
					<p>400-001-5281 （售后服务热线）</p>
				</li>
				<li>
					<span class="fttitle">思洋 · 深圳</span>
					<div>
						<p>深圳市坂田十二橡树庄园F1-7栋</p>
						<p>Site/ http://www.szciya.com </p>
						<p>E-mail/ itciya@vip.163.com</p>
					</div>
					<p>品牌服务专线：400-001-5281 </p>
				</li>
				<li>
					<span class="fttitle">思洋 · 湖南</span>
					<div>
						<p>长沙市天心区芙蓉中路三段398号新时空大厦5楼</p>
						<p>联系电话/ (+86 0731)88282200</p>
					</div>
					<p>品牌服务专线/ 400-966-8830</p>
				</li>
				<li class="lastli">
					<p class="mt10">旗下运营网站：</p>
					<div class="mt10">
						<img src="/images/ftlogo2.png">
						<img src="/images/gogo.png">
						<img src="/images/ftlogo3.png">
						<img src="/images/ftlogo4.png">
						<img src="/images/ftlogo11.png">
					</div>
				</li>
			</ul>
		</div>
	</div>
	<div class="ft_bottom">
		<div class="w1700">
			<p class="cop">Copyright © 2016 广州思洋文化传播有限公司，保留所有权利。 <a href="https://beian.miit.gov.cn/" target="_blank">粤ICP备09033321号</a>
			</p>
		</div>
	</div>
</div>
<div class="le-box active">
	<div class="t show780">
		<a href="tel:13570966600">
			<img src="/images/ml9-1.png?v=1" alt="" class="sow i">
			<img src="/images/ml9-1.png?v=1" alt="" class="iove i">
		</a>
	</div>
	<div class="t">
		<img src="/images/ml1-1.png?v=1" alt="" class="sow i">
		<img src="/images/ml1-1.png?v=1" alt="" class="iove i">
		<div class="iov">
			<div class="img">
				<img src="/images/qr.jpg" alt="与项目经理交流">
			</div>
			<div class="h">扫描二维码<br>与项目经理交流</div>
		</div>
	</div>
	<div class="t">
		<img src="/images/ml2-1.png?v=1" alt="" class="sow i">
		<img src="/images/ml2-1.png?v=1" alt="" class="iove i">
		<div class="iov">
			<div class="img">
				<img src="/images/qq001.jpg" alt="">
			</div>
			<div class="h">扫描二维码<br>与项目经理交流</div>
		</div>
	</div>
	<!--<div class="t">-->
		<!--<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=1607245872&amp;site=ciya.cn&amp;menu=yes" target="_blank">-->
			<!--<img src="/images/ml2-1.png?v=1" alt="" class="sow i">-->
			<!--<img src="/images/ml2-1.png?v=1" alt="" class="iove i">-->
		<!--</a>-->
	<!--</div>-->
	<div class="t hide780">
		<a href="https://affim.baidu.com/unique_510425/chat?siteId=19536215&userId=510425&siteToken=8914d517c927d8e794148d05e387fb17" target="_blank">
			<img src="/images/ml3-1.png?v=1" alt="" class="sow i">
			<img src="/images/ml3-1.png?v=1" alt="" class="iove i">
		</a>
	</div>
</div>
<script>
	$(window).scroll(function(){
//		if($(window).scrollTop()>200){
//			$(".le-box").addClass("active");
//		}else{
//			$(".le-box").removeClass("active");
//		}
	})
</script>
<div class="wap_fx">
	<a href="tel:13570966600" class="phone"></a>
	<a href="mqqwpa://im/chat?chat_type=wpa&uin=1607245872&version=1&src_type=web&web_src=ciya.cn" target="_blank" class="qq"></a>
	<a href="javascript:;" class="wx2"></a>
	<a class="kef986" style="background:rgba(0,0,0,.6) url(/images/ml3-1.png?v=1) no-repeat center;background-size: cover;border-radius: 4px;" href="https://p.qiao.baidu.com/cps/chat?siteId=18513940&userId=510425&siteToken=e5e1bde478969b43bf99b7703a694c0b" target="_blank"></a>
</div>
<div class="wap-wxcode">
	<div class="middle-box">
		<div class="middle-inner">
			<div class="wap-wxcode-con">
				<img src="/images/ff_ewm.jpg" alt=""/>
				<div class="wap-wxcode-bot"><span class="wxname">ciya68</span><button class="copy-btn" data-clipboard-text="ciya68">点击复制</button></div>
				<div class="gb1002"></div>
			</div>
		</div>
	</div>
</div>
<input id="hide" type="hidden">
<script src="/js/clipboard.min.js"></script>
<script>
	$(function(){
		$(".wx2").click(function(){
			$(".wap-wxcode").show();
		});
		$(".gb1002").click(function(){
			$(".wap-wxcode").hide();
		});
		var copyBtn=new ClipboardJS('.copy-btn');
		copyBtn.on("success",function(e){
			// 复制成功
			// alert(e.text);
			showMessage('已成功复制微信号','success',2000)
			e.clearSelection();
		});
		copyBtn.on("error",function(e){
			//复制失败；
			showMessage('复制微信号失败','error',2000)
			console.log( e.action )
		});
		function showMessage(message,type,time) {
			let str = ''
			switch (type) {
				case 'success':
					str = '<div class="success-message" style="width: 100%;height: 50px;background-color: #030026;font-size:17px;text-align: center;color:#fff;position: fixed;left: 0%;bottom: 0%;line-height: 50px;z-index: 9999">\n' +
							'    <span class="mes-text">'+message+'</span></div>'
					break;
				case 'error':
					str = '<div class="error-message" style="width: 100%;height: 50px;background-color: #030026;font-size:17px;text-align: center;color: #fff;position: fixed;left: 0%;bottom: 0%;line-height: 50px;z-index: 9999">\n' +
							'    <span class="mes-text">'+message+'</span></div>'
			}
			$('body').append(str)
			setTimeout(function () {
				$('.'+type+'-message').remove()
			},time)
		}


		var ua = navigator.userAgent.toLowerCase();
		var isWeixin = ua.indexOf('micromessenger')!= -1;
		if(isWeixin){
			$(".kef986").hide();
		}

	})
</script>
            </div>
        </div>
		<script type="text/javascript" src="/js/trunk.js?v=2"></script>
        <script>
            var zxal=null;
            var len=$(".zxal .swiper-slide").length;
            if(len>1){
                zxal = new Swiper('.zxal .swiper-container',{
                    speed:600,
                    loop:true,
                    autoplay : 5000,
                    autoplayDisableOnInteraction : false,
                    pagination : '.zxalDot',
                    paginationClickable :true,
                })
            }else{
                $(".zxalDot").hide();
            }
        </script>
	</body>
</html>

