{"id":210630,"date":"2026-01-21T12:13:40","date_gmt":"2026-01-21T04:13:40","guid":{"rendered":"https:\/\/www.server.hk\/blog\/?p=210630"},"modified":"2026-01-17T12:14:48","modified_gmt":"2026-01-17T04:14:48","slug":"%e9%a6%99%e6%b8%af%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%ef%bc%9fserver-hk%e9%ab%98%e5%8f%af%e7%94%a8%e6%9e%b6%e6%9e%84%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/210630\/","title":{"rendered":"\u9999\u6e2f\u670d\u52a1\u5668\u5982\u4f55\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\uff1fServer.HK\u9ad8\u53ef\u7528\u67b6\u6784\u8be6\u89e3\u4e0e\u5b9e\u8df5\u6307\u5357"},"content":{"rendered":"<p dir=\"auto\">\u5728\u5f53\u4eca\u9ad8\u5e76\u53d1\u3001\u6570\u5b57\u5316\u8f6c\u578b\u52a0\u901f\u7684\u65f6\u4ee3\uff0c\u65e0\u8bba\u662f\u8de8\u5883\u7535\u5546\u5e73\u53f0\u3001\u5916\u8d38\u72ec\u7acb\u7ad9\u3001\u6e38\u620f\u670d\u52a1\u5668\u8fd8\u662fSaaS\u5e94\u7528\uff0c\u7f51\u7ad9\u6216\u670d\u52a1\u7684\u8bbf\u95ee\u91cf\u5f80\u5f80\u5448\u73b0\u7206\u53d1\u5f0f\u589e\u957f\u3002\u5355\u53f0\u670d\u52a1\u5668\u65e0\u8bba\u914d\u7f6e\u591a\u9ad8\uff0c\u90fd\u96be\u4ee5\u5e94\u5bf9\u7a81\u53d1\u6d41\u91cf\u9ad8\u5cf0\uff0c\u800c<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\u51ed\u501f\u5176\u4f18\u8d8a\u7684\u7f51\u7edc\u73af\u5883\u548c\u786c\u4ef6\u8d44\u6e90\uff0c\u6210\u4e3a\u8bb8\u591a\u4f01\u4e1a\u5b9e\u73b0\u9ad8\u53ef\u7528\u3001\u9ad8\u6027\u80fd\u8d1f\u8f7d\u5747\u8861\u7684\u7406\u60f3\u9009\u62e9\u3002\u672c\u6587\u5c06\u56f4\u7ed5\u201c\u9999\u6e2f\u670d\u52a1\u5668\u5982\u4f55\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u201d\u8fd9\u4e00\u4e3b\u9898\uff0c\u4ece\u6280\u672f\u539f\u7406\u3001\u5e38\u89c1\u65b9\u6848\u3001\u5b9e\u9645\u90e8\u7f72\u6b65\u9aa4\u5230\u4f18\u5316\u6280\u5de7\u8fdb\u884c\u5168\u9762\u79d1\u666e\uff0c\u5e2e\u52a9\u7ad9\u957f\u548c\u4f01\u4e1aIT\u8d1f\u8d23\u4eba\u638c\u63e1\u8fd9\u4e00\u5173\u952e\u6280\u672f\u3002<\/p>\n<h3 dir=\"auto\">\u8d1f\u8f7d\u5747\u8861\u7684\u6838\u5fc3\u539f\u7406\u4e0e\u5fc5\u8981\u6027<\/h3>\n<p dir=\"auto\">\u8d1f\u8f7d\u5747\u8861\uff08Load Balancing\uff09\u672c\u8d28\u4e0a\u662f\u5c06\u6765\u81ea\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\u6d41\u91cf\u667a\u80fd\u5206\u53d1\u5230\u591a\u53f0\u540e\u7aef\u670d\u52a1\u5668\u4e0a\uff0c\u4ece\u800c\u63d0\u5347\u7cfb\u7edf\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\u3001\u54cd\u5e94\u901f\u5ea6\u548c\u5bb9\u9519\u6027\uff0c\u907f\u514d\u5355\u70b9\u6545\u969c\u3002\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u7c7b\u578b\u5305\u62ec\uff1a<\/p>\n<ul dir=\"auto\">\n<li><strong>\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u5982F5\u3001A10\u7b49\u4e13\u4e1a\u8bbe\u5907\uff0c\u6027\u80fd\u5f3a\u52b2\u4f46\u6210\u672c\u9ad8\u3002<\/li>\n<li><strong>\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u5982Nginx\u3001HAProxy\u3001LVS\uff0c\u6027\u4ef7\u6bd4\u9ad8\uff0c\u7075\u6d3b\u6027\u5f3a\uff0c\u9002\u5408\u5927\u591a\u6570\u4e2d\u5c0f\u578b\u5230\u4e2d\u5927\u578b\u9879\u76ee\u3002<\/li>\n<li><strong>\u4e91\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u5982\u963f\u91cc\u4e91SLB\u3001AWS ELB\uff0c\u914d\u7f6e\u7b80\u5355\u4f46\u53d7\u9650\u4e8e\u4e91\u5382\u5546\u3002<\/li>\n<\/ul>\n<p dir=\"auto\">\u5bf9\u4e8e<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\u7528\u6237\u6765\u8bf4\uff0c\u7531\u4e8e\u5176\u5730\u7406\u4f4d\u7f6e\u9760\u8fd1\u4e2d\u56fd\u5927\u9646\uff08\u5ef6\u8fdf\u901a\u5e3830-80ms\uff09\u3001CN2 GIA\/BGP\u591a\u7ebf\u4f18\u8d28\u7f51\u7edc\uff0c\u4ee5\u53ca\u514d\u5907\u6848\u7684\u4f18\u52bf\uff0c\u7279\u522b\u9002\u5408\u642d\u5efa\u81ea\u5efa\u8d1f\u8f7d\u5747\u8861\u96c6\u7fa4\uff0c\u5b9e\u73b0\u201c\u4f4e\u6210\u672c\u3001\u9ad8\u6027\u80fd\u201d\u7684\u9ad8\u53ef\u7528\u67b6\u6784\u3002<\/p>\n<p dir=\"auto\">\u4e3a\u4ec0\u4e48\u9009\u62e9<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\uff1f<\/p>\n<ol dir=\"auto\">\n<li><strong>\u7f51\u7edc\u4f18\u52bf\u7a81\u51fa<\/strong>\uff1aCN2 GIA\u76f4\u8fde\u5927\u9646\u9aa8\u5e72\u7f51\uff0c\u56de\u7a0b\u8def\u7531\u4f18\u5316\uff0c\u667a\u80fd\u8c03\u5ea6\u81ea\u52a8\u9009\u8def\uff0c\u4e09\u7f51\u8bbf\u95ee\u7a33\u5b9a\uff0c\u4f4e\u4e22\u5305\u7387\u3002<\/li>\n<li><strong>\u591aIP\u8d44\u6e90\u4e30\u5bcc<\/strong>\uff1a\u7ad9\u7fa4\u670d\u52a1\u5668\u53ef\u63d0\u4f9b\u591a\u4e2a\u72ec\u7acbIP\u6bb5\uff0c\u4fbf\u4e8e\u914d\u7f6e\u591a\u540e\u7aef\u8282\u70b9\u3002<\/li>\n<li><strong>\u9ad8\u6027\u4ef7\u6bd4\u786c\u4ef6<\/strong>\uff1aXeon\u591a\u6838\u5904\u7406\u5668\u3001\u5927\u5185\u5b58\u3001SSD\u786c\u76d8\uff0c\u8f7b\u677e\u652f\u6491Nginx\/HAProxy\u7b49\u8f6f\u4ef6\u8d1f\u8f7d\u5747\u8861\u5668\u3002<\/li>\n<li><strong>\u5f39\u6027\u6269\u5c55\u4fbf\u6377<\/strong>\uff1a\u53ef\u5feb\u901f\u52a0\u8d2d\u591a\u53f0<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\u7ec4\u6210\u96c6\u7fa4\uff0c\u73b0\u673a\u5373\u5f00\uff0c\u4ea4\u4ed8\u901f\u5ea6\u5feb\u3002<\/li>\n<\/ol>\n<h3 dir=\"auto\">\u9999\u6e2f\u670d\u52a1\u5668\u4e0a\u5e38\u89c1\u7684\u8d1f\u8f7d\u5747\u8861\u5b9e\u73b0\u65b9\u6848<\/h3>\n<h4 dir=\"auto\">\u65b9\u6848\u4e00\uff1aNginx\u4f5c\u4e3a\u56db\u5c42\/\u4e03\u5c42\u8d1f\u8f7d\u5747\u8861\u5668\uff08\u63a8\u8350\u5165\u95e8\u7ea7\u5230\u4e2d\u578b\u9879\u76ee\uff09<\/h4>\n<p dir=\"auto\">Nginx\u662f\u76ee\u524d\u4f7f\u7528\u6700\u5e7f\u6cdb\u7684\u5f00\u6e90\u8d1f\u8f7d\u5747\u8861\u8f6f\u4ef6\uff0c\u652f\u6301HTTP\/HTTPS\u3001TCP\/UDP\u534f\u8bae\uff0c\u65e2\u53ef\u4f5c\u4e3a\u53cd\u5411\u4ee3\u7406\uff0c\u4e5f\u53ef\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<p dir=\"auto\"><strong>\u9002\u7528\u573a\u666f<\/strong>\uff1a\u8de8\u5883\u7535\u5546\u3001WordPress\/WooCommerce\u5916\u8d38\u7ad9\u3001API\u63a5\u53e3\u670d\u52a1\u3001\u4e2d\u5c0f\u578b\u6e38\u620f\u670d\u52a1\u5668\u3002<\/p>\n<p dir=\"auto\"><strong>\u914d\u7f6e\u793a\u4f8b<\/strong>\uff08\u4ee5Server.HK\u9999\u6e2fCN2\u670d\u52a1\u5668\u4e3a\u4f8b\uff09\uff1a<\/p>\n<p dir=\"auto\">\u5047\u8bbe\u60a8\u8d2d\u4e70\u4e86\u4e24\u53f0<strong>\u9999\u6e2fCN2\u670d\u52a1\u5668<\/strong>\uff08\u5982CN2 B\u5957\u9910\uff1aIntel Xeon E5-2660 8\u683816\u7ebf\u7a0b\u300116GB\u5185\u5b58\u3001240GB SSD\u300110M CN2 GIA\u5e26\u5bbd\u30012\u4e2aIP\uff09\u4f5c\u4e3a\u540e\u7aef\u8282\u70b9\uff0c\u4e00\u53f0\u4f5c\u4e3aNginx\u8d1f\u8f7d\u5747\u8861\u5668\uff08\u53ef\u9009\u7528\u7279\u4ef7B\u5957\u9910\uff1aE5-2650 8\u683816\u7ebf\u7a0b\u300116GB\u5185\u5b58\u300130M BGP\uff09\u3002<\/p>\n<ol dir=\"auto\">\n<li>\u5728\u8d1f\u8f7d\u5747\u8861\u5668\u4e0a\u5b89\u88c5Nginx\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>sudo apt update &amp;&amp; sudo apt install nginx<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6 \/etc\/nginx\/nginx.conf \u6216\u65b0\u5efa\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>upstream backend {\r\n    server 154.39.251.10 weight=1;   # \u7b2c\u4e00\u53f0\u540e\u7aefCN2\u670d\u52a1\u5668IP\r\n    server 154.39.251.11 weight=2;   # \u7b2c\u4e8c\u53f0\u540e\u7aef\uff0c\u6743\u91cd\u66f4\u9ad8\r\n    least_conn;                      # \u6700\u5c0f\u8fde\u63a5\u7b97\u6cd5\r\n}\r\n\r\nserver {\r\n    listen 80;\r\n    server_name www.example.com;\r\n\r\n    location \/ {\r\n        proxy_pass http:\/\/backend;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n    }\r\n}<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>\u542f\u7528HTTPS\uff08\u63a8\u8350\uff09\uff1a \u4f7f\u7528Let&#8217;s Encrypt\u514d\u8d39\u8bc1\u4e66\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>sudo apt install certbot python3-certbot-nginx\r\nsudo certbot --nginx -d www.example.com<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<\/ol>\n<p dir=\"auto\"><strong>\u4f18\u70b9<\/strong>\uff1a\u914d\u7f6e\u7b80\u5355\u3001\u5185\u5b58\u5360\u7528\u4f4e\u3001\u652f\u6301Session\u4fdd\u6301\uff08ip_hash\u3001sticky cookie\uff09\u3001\u5065\u5eb7\u68c0\u67e5\u3002<\/p>\n<h4 dir=\"auto\">\u65b9\u6848\u4e8c\uff1aHAProxy + Keepalived\u5b9e\u73b0\u9ad8\u53ef\u7528\u8d1f\u8f7d\u5747\u8861\uff08\u63a8\u8350\u4e2d\u5927\u578b\u9879\u76ee\uff09<\/h4>\n<p dir=\"auto\">HAProxy\u6027\u80fd\u66f4\u5f3a\uff0c\u652f\u6301\u56db\u5c42\/\u4e03\u5c42\u8d1f\u8f7d\u5747\u8861\uff0c\u9002\u5408\u9ad8\u5e76\u53d1\u573a\u666f\u3002\u7ed3\u5408Keepalived\u53ef\u5b9e\u73b0VIP\uff08\u865a\u62dfIP\uff09\u6f02\u79fb\uff0c\u786e\u4fdd\u8d1f\u8f7d\u5747\u8861\u5668\u672c\u8eab\u4e0d\u6210\u4e3a\u5355\u70b9\u6545\u969c\u3002<\/p>\n<p dir=\"auto\"><strong>\u9002\u7528\u573a\u666f<\/strong>\uff1a\u5927\u578b\u5916\u8d38B2B\u5e73\u53f0\u3001\u89c6\u9891\u76f4\u64ad\u3001\u6e38\u620f\u767b\u5f55\u670d\u3001\u9700\u898199.99%\u53ef\u7528\u6027\u7684\u4e1a\u52a1\u3002<\/p>\n<p dir=\"auto\"><strong>\u90e8\u7f72\u6b65\u9aa4<\/strong>\uff08\u63a8\u8350\u4f7f\u7528\u4e24\u53f0<strong>\u9999\u6e2f\u7ad9\u7fa4\u670d\u52a1\u5668<\/strong>\u6216CN2 C\u5957\u9910\uff09\uff1a<\/p>\n<ol dir=\"auto\">\n<li>\u5b89\u88c5HAProxy\u548cKeepalived\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>sudo apt install haproxy keepalived<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>HAProxy\u4e3b\u914d\u7f6e\u6587\u4ef6 \/etc\/haproxy\/haproxy.cfg\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>global\r\n    log \/dev\/log local0\r\n    maxconn 100000\r\n\r\nfrontend http-in\r\n    bind *:80\r\n    default_backend web_servers\r\n\r\nbackend web_servers\r\n    balance roundrobin\r\n    server server1 154.39.195.10:80 check\r\n    server server2 154.39.195.11:80 check\r\n    server server3 154.39.195.12:80 check backup<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>Keepalived\u914d\u7f6e\uff08\u4e24\u53f0\u5747\u8861\u5668\u4e92\u4e3a\u4e3b\u5907\uff09\uff1a\n<ul dir=\"auto\">\n<li>Master\u8282\u70b9\uff1a\n<div dir=\"auto\">\n<div data-testid=\"code-block\">\n<div>\n<div>text<\/div>\n<div>\n<div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<pre tabindex=\"0\"><code>vrrp_instance VI_1 {\r\n    state MASTER\r\n    interface eth0\r\n    virtual_router_id 51\r\n    priority 100\r\n    advert_int 1\r\n    authentication {\r\n        auth_type PASS\r\n        auth_pass 1111\r\n    }\r\n    virtual_ipaddress {\r\n        154.39.195.100\r\n    }\r\n}<\/code><\/pre>\n<\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>Backup\u8282\u70b9\u4f18\u5148\u7ea7\u6539\u4e3a90\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p dir=\"auto\"><strong>\u4f18\u70b9<\/strong>\uff1a\u6beb\u79d2\u7ea7\u6545\u969c\u5207\u6362\u3001\u652f\u6301ACL\u8bbf\u95ee\u63a7\u5236\u3001\u8fde\u63a5\u6570\u66f4\u9ad8\u3001\u6027\u80fd\u4f18\u4e8eNginx\u3002<\/p>\n<h4 dir=\"auto\">\u65b9\u6848\u4e09\uff1aLVS + Nginx\/HAProxy\u6df7\u5408\u67b6\u6784\uff08\u63a8\u8350\u8d85\u9ad8\u5e76\u53d1\u573a\u666f\uff09<\/h4>\n<p dir=\"auto\">LVS\uff08Linux Virtual Server\uff09\u662f\u56db\u5c42\u8d1f\u8f7d\u5747\u8861\u5185\u6838\u6a21\u5757\uff0c\u6027\u80fd\u6781\u9ad8\uff0c\u51e0\u4e4e\u65e0\u635f\u8017\u3002\u5e38\u4e0eNginx\/HAProxy\u7ed3\u5408\u4f7f\u7528\uff1aLVS\u505a\u56db\u5c42\u5206\u53d1\uff0cNginx\/HAProxy\u505a\u4e03\u5c42\u5904\u7406\u3002<\/p>\n<p dir=\"auto\"><strong>\u9002\u7528\u573a\u666f<\/strong>\uff1a\u65e5PV\u767e\u4e07\u7ea7\u4ee5\u4e0a\u7535\u5546\u3001\u6e38\u620f\u5f00\u670d\u9ad8\u5cf0\u3001\u79d2\u6740\u6d3b\u52a8\u3002<\/p>\n<p dir=\"auto\"><strong>Server.HK\u786c\u4ef6\u652f\u6301<\/strong>\uff1a\u5176<strong>\u9999\u6e2fCN2 C\u5957\u9910<\/strong>\uff08\u53ccE5-2660\u300132GB\u5185\u5b58\u300110M CN2 GIA\uff09\u975e\u5e38\u9002\u5408\u4f5c\u4e3aLVS\u8c03\u5ea6\u5668\uff0c\u5e26\u5bbd\u548c\u591a\u6838\u5904\u7406\u5668\u80fd\u8f7b\u677e\u5904\u7406\u6570\u5341\u4e07\u5e76\u53d1\u3002<\/p>\n<h3 dir=\"auto\">\u8d1f\u8f7d\u5747\u8861\u4f18\u5316\u6280\u5de7\u4e0eServer.HK\u5b9e\u9645\u5e94\u7528<\/h3>\n<ol dir=\"auto\">\n<li><strong>\u5229\u7528\u591aIP\u8d44\u6e90<\/strong>\uff1aServer.HK\u7ad9\u7fa4\u670d\u52a1\u5668\u63d0\u4f9b5(\/29)+1C(\/24)\u7b49\u5927\u91cf\u72ec\u7acbIP\uff0c\u53ef\u4e3a\u6bcf\u4e2a\u540e\u7aef\u8282\u70b9\u5206\u914d\u4e0d\u540cIP\uff0c\u907f\u514dIP\u5c01\u9501\u98ce\u9669\u3002<\/li>\n<li><strong>\u7ed3\u5408CDN\u52a0\u901f<\/strong>\uff1a\u9999\u6e2f\u670d\u52a1\u5668CN2 GIA\u7ebf\u8def + Cloudflare\/\u56fd\u5185CDN\uff0c\u5b9e\u73b0\u5168\u7403\u52a0\u901f+\u8d1f\u8f7d\u5747\u8861\u53cc\u4fdd\u9669\u3002<\/li>\n<li><strong>\u5065\u5eb7\u68c0\u67e5\u4e0e\u81ea\u52a8\u5254\u9664<\/strong>\uff1aNginx\/HAProxy\u5747\u652f\u6301\u540e\u7aef\u5065\u5eb7\u68c0\u67e5\uff0cServer.HK\u768499.99%\u5728\u7ebf\u4fdd\u969c\u8fdb\u4e00\u6b65\u63d0\u5347\u96c6\u7fa4\u7a33\u5b9a\u6027\u3002<\/li>\n<li><strong>DDoS\u9632\u62a4<\/strong>\uff1aServer.HK\u63d0\u4f9b\u6d41\u91cf\u8f6c\u79fb\u670d\u52a1\uff0c\u642d\u914d\u786c\u4ef6\u9632\u706b\u5899\u6216\u4e91\u9632\u62a4\uff0c\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u4e0b\u7684\u5b89\u5168\u9632\u62a4\u3002<\/li>\n<li><strong>\u76d1\u63a7\u4e0e\u6269\u5c55<\/strong>\uff1a\u4f7f\u7528Zabbix\/Prometheus\u76d1\u63a7\u96c6\u7fa4\u8d1f\u8f7d\uff0c\u6d41\u91cf\u9ad8\u5cf0\u65f6\u53ef\u5feb\u901f\u52a0\u8d2dServer.HK<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\uff08\u73b0\u673a\u5373\u5f00\uff09\u6269\u5c55\u8282\u70b9\u3002<\/li>\n<\/ol>\n<h3 dir=\"auto\">\u7ed3\u8bed\uff1a\u9999\u6e2f\u670d\u52a1\u5668\u52a9\u529b\u8d1f\u8f7d\u5747\u8861\uff0c\u6253\u9020\u9ad8\u53ef\u7528\u8de8\u5883\u4e1a\u52a1<\/h3>\n<p dir=\"auto\">\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6848\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5728<strong>\u9999\u6e2f\u670d\u52a1\u5668<\/strong>\u4e0a\u642d\u5efa\u7a33\u5b9a\u3001\u9ad8\u6548\u7684\u8d1f\u8f7d\u5747\u8861\u67b6\u6784\uff0c\u65e0\u8bba\u662fNginx\u5feb\u901f\u4e0a\u624b\uff0c\u8fd8\u662fHAProxy+Keepalived\u9ad8\u53ef\u7528\u96c6\u7fa4\uff0c\u90fd\u80fd\u663e\u8457\u63d0\u5347\u4e1a\u52a1\u7684\u5e76\u53d1\u80fd\u529b\u548c\u7528\u6237\u4f53\u9a8c\u3002Server.HK\u63d0\u4f9b\u7684CN2 GIA\/BGP\u591a\u7ebf\u3001Xeon\u591a\u6838\u786c\u4ef6\u3001\u591aIP\u8d44\u6e90\u3001\u6781\u901f\u4ea4\u4ed8\u7b49\u7279\u6027\uff0c\u4e3a\u8d1f\u8f7d\u5747\u8861\u96c6\u7fa4\u63d0\u4f9b\u4e86\u575a\u5b9e\u57fa\u7840\u3002<\/p>\n<p dir=\"auto\">\u5982\u679c\u60a8\u6b63\u5728\u89c4\u5212\u9ad8\u53ef\u7528\u67b6\u6784\uff0c\u63a8\u8350\u7acb\u5373\u8bbf\u95eeServer.HK\u5b98\u7f51\u9999\u6e2f\u670d\u52a1\u5668\u9875\u9762\uff08<a href=\"https:\/\/server.hk\/server.php?referrer=grok.com\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/server.hk\/server.php<\/a>\uff09\uff0c\u67e5\u770b\u6700\u65b0\u5957\u9910\u3002\u4ece299\u5143\/\u6708\u7684\u7279\u4ef7\u670d\u52a1\u5668\u8d77\u6b65\uff0c\u52301199\u5143\/\u6708\u8d77\u7684\u7ad9\u7fa4\u670d\u52a1\u5668\uff0c\u603b\u6709\u4e00\u6b3e\u9002\u5408\u60a8\u7684\u8d1f\u8f7d\u5747\u8861\u96c6\u7fa4\u9700\u6c42\u3002\u8054\u7cfbTG\u9500\u552e\uff08@ServerHKBot\uff09\u6216\u63d0\u4ea4\u5de5\u5355\uff0c\u5373\u53ef\u83b7\u53d6\u4e13\u4e1a\u914d\u7f6e\u5efa\u8bae\u548c\u6280\u672f\u652f\u6301\uff0c\u52a9\u529b\u60a8\u7684\u8de8\u5883\u4e1a\u52a1\u7a33\u5b9a\u589e\u957f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5f53\u4eca\u9ad8\u5e76\u53d1\u3001\u6570\u5b57\u5316\u8f6c\u578b\u52a0\u901f\u7684\u65f6&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4927],"tags":[],"class_list":["post-210630","post","type-post","status-publish","format-standard","hentry","category-4927"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/210630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=210630"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/210630\/revisions"}],"predecessor-version":[{"id":210631,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/210630\/revisions\/210631"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=210630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=210630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=210630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}