1
0
mirror of https://github.com/ZSCNetSupportDept/website.git synced 2025-10-29 01:15:04 +08:00
Files
website/assets/js/58c6b254.47cc32ba.js

1 line
5.0 KiB
JavaScript

"use strict";(self.webpackChunkdeveloper_zsc=self.webpackChunkdeveloper_zsc||[]).push([[2516],{8528:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>h,frontMatter:()=>c,metadata:()=>t,toc:()=>o});var s=i(4848),d=i(8453);const c={},r="\u7f51\u7ad9\u670d\u52a1\u5668",t={id:"devdocs/\u57fa\u7840\u8bbe\u65bd/\u7f51\u7ad9\u670d\u52a1\u5668",title:"\u7f51\u7ad9\u670d\u52a1\u5668",description:"\u6982\u51b5",source:"@site/docs/devdocs/05-\u57fa\u7840\u8bbe\u65bd/\u7f51\u7ad9\u670d\u52a1\u5668.md",sourceDirName:"devdocs/05-\u57fa\u7840\u8bbe\u65bd",slug:"/devdocs/\u57fa\u7840\u8bbe\u65bd/\u7f51\u7ad9\u670d\u52a1\u5668",permalink:"/docs/devdocs/\u57fa\u7840\u8bbe\u65bd/\u7f51\u7ad9\u670d\u52a1\u5668",draft:!1,unlisted:!1,editUrl:"https://github.com/ZSCNetSupportDept/website/tree/master/docs/devdocs/05-\u57fa\u7840\u8bbe\u65bd/\u7f51\u7ad9\u670d\u52a1\u5668.md",tags:[],version:"current",frontMatter:{},sidebar:"devdocs",previous:{title:"\u62a5\u4fee\u670d\u52a1\u5668",permalink:"/docs/devdocs/\u57fa\u7840\u8bbe\u65bd/\u62a5\u4fee\u670d\u52a1\u5668"},next:{title:"\u8054\u7cfb\u5f00\u53d1\u7ec4",permalink:"/docs/devdocs/\u8054\u7cfb\u5f00\u53d1\u7ec4"}},l={},o=[{value:"\u6982\u51b5",id:"\u6982\u51b5",level:2},{value:"\u670d\u52a1",id:"\u670d\u52a1",level:2},{value:"\u5b98\u7f51",id:"\u5b98\u7f51",level:3},{value:"\u65e7\u7248wiki",id:"\u65e7\u7248wiki",level:3},{value:"\u5f00\u53d1\u7ec4\u7f51\u7ad9",id:"\u5f00\u53d1\u7ec4\u7f51\u7ad9",level:3},{value:"Nginx",id:"nginx",level:2}];function x(e){const n={br:"br",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{id:"\u7f51\u7ad9\u670d\u52a1\u5668",children:"\u7f51\u7ad9\u670d\u52a1\u5668"}),"\n",(0,s.jsx)(n.h2,{id:"\u6982\u51b5",children:"\u6982\u51b5"}),"\n",(0,s.jsxs)(n.p,{children:["ip:",(0,s.jsx)(n.strong,{children:"43.129.159.235"})]}),"\n",(0,s.jsxs)(n.p,{children:["OS:",(0,s.jsx)(n.strong,{children:"Debian 10.2 64bit"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u914d\u7f6e\uff1aCPU - 1\u6838 \u5185\u5b58 - 1GB",(0,s.jsx)(n.br,{}),"\n","\u7cfb\u7edf\u76d8 - SSD\u4e91\u786c\u76d8 25GB",(0,s.jsx)(n.br,{}),"\n","\u6d41\u91cf\u5305 - 1024GB/\u6708\uff08\u5cf0\u503c\u5e26\u5bbd\uff1a30Mbps\uff09"]}),"\n",(0,s.jsxs)(n.p,{children:["\u670d\u52a1\uff1a\u5b98\u7f51(\u901a\u8fc7docker\u90e8\u7f72\uff0c8090\u7aef\u53e3\uff0cnginx\u53cd\u4ee3)",(0,s.jsx)(n.br,{}),"\n","\u65e7\u7248wiki(docker\uff0c3000\u7aef\u53e3,nginx\u53cd\u4ee3)",(0,s.jsx)(n.br,{}),"\n","\u65b0\u7f51\u7ad9(TODO:\u8865\u5145\u90e8\u7f72\u65b9\u5f0f)"]}),"\n",(0,s.jsx)(n.h2,{id:"\u670d\u52a1",children:"\u670d\u52a1"}),"\n",(0,s.jsx)(n.h3,{id:"\u5b98\u7f51",children:"\u5b98\u7f51"}),"\n",(0,s.jsx)(n.p,{children:"\u8fd0\u884c\u5728docker\u4e0b"}),"\n",(0,s.jsx)(n.h3,{id:"\u65e7\u7248wiki",children:"\u65e7\u7248wiki"}),"\n",(0,s.jsx)(n.p,{children:"\u8fd0\u884c\u5728docker\u4e0b"}),"\n",(0,s.jsx)(n.h3,{id:"\u5f00\u53d1\u7ec4\u7f51\u7ad9",children:"\u5f00\u53d1\u7ec4\u7f51\u7ad9"}),"\n",(0,s.jsx)(n.p,{children:"\u7531nginx\u76f4\u63a5\u4ee3\u7406"}),"\n",(0,s.jsx)(n.h2,{id:"nginx",children:"Nginx"}),"\n",(0,s.jsx)(n.p,{children:"\u7f51\u7ad9\u670d\u52a1\u5668\u7684\u670d\u52a1\u57fa\u672c\u4e0a\u90fd\u662f\u8d70nginx\u7684\uff0c\u5bf9\u4e8e\u670d\u52a1\u5668nginx\u7684\u914d\u7f6e\uff0c\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u4e8b\u9879\uff1a"}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsxs)(n.li,{children:["\u5f53\u521d\u5b89\u88c5nginx\u7684\u65f6\u5019\uff0c\u7528\u7684\u662flnmp\u4e00\u952e\u5b89\u88c5\u811a\u672c\uff0c\u8fd9\u4e2a\u811a\u672c\u7684\u914d\u7f6e\u548c\u666e\u901a\u5b89\u88c5\u597d\u50cf\u6709\u70b9\u4e0d\u4e00\u6837\uff0cnginx\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u5728",(0,s.jsx)(n.code,{children:"/usr/local/nginx/conf/nginx.conf"}),"\uff0c\u6211\u4fee\u6539\u4e86\u914d\u7f6e\uff0c\u4f7f\u5176include\u4e86",(0,s.jsx)(n.code,{children:"/etc/nginx/sites-enabled"}),",\u5982\u679c\u8981\u6dfb\u52a0\u7f51\u7ad9\uff0c\u8bf7\u4fee\u6539",(0,s.jsx)(n.code,{children:"sites-available"}),"\uff0c\u5e76\u5c06\u9700\u8981\u542f\u7528\u7684\u914d\u7f6e\u94fe\u63a5\u5230",(0,s.jsx)(n.code,{children:"sites-enabled"}),"\u4e0b\uff0c\u4e0d\u63a8\u8350\u4f7f\u7528\u811a\u672c\u81ea\u5e26\u7684",(0,s.jsx)(n.code,{children:"lnmp"}),"\u811a\u672c\uff0c"]}),"\n",(0,s.jsx)(n.li,{children:"\u5173\u4e8e\u7f51\u7ad9\u7684ssl\u8bc1\u4e66\uff0c\u8981\u8bb0\u5f97\u66f4\u65b0,\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u8bc1\u4e66\u548ckey\u7684\u8def\u5f84\u6307\u5411certbot\u9ed8\u8ba4\u5b58\u653e\u7684\u8def\u5f84\u5373\u53ef"}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,d.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>r,x:()=>t});var s=i(6540);const d={},c=s.createContext(d);function r(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:r(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]);