{"id":1592,"date":"2017-07-06T13:59:51","date_gmt":"2017-07-06T05:59:51","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1592"},"modified":"2017-07-06T14:12:32","modified_gmt":"2017-07-06T06:12:32","slug":"nginx%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6nginx-conf%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1592","title":{"rendered":"Nginx\u914d\u7f6e\u6587\u4ef6nginx.conf\u6559\u7a0b"},"content":{"rendered":"<p>\n\t\u6700\u8fd1\u53d1\u73b0\u5fae\u4fe1\u516c\u4f17\u53f7\u4f7f\u7528\u7684\u662fnginx\u670d\u52a1\u5668\u3002\u800c\u6211\u7684<a href=\"http:\/\/www.codedq.net\" name=\"CODE\u5927\u5168\" target=\"_blank\" title=\"CODE\u5927\u5168\">CODE\u5927\u5168<\/a>\u7f51\u7ad9\u4f7f\u7528\u7684\u4e5f\u662fnginx\uff0c\u56e0\u6b64\u5bf9nginx\u670d\u52a1\u5668\u5c31\u6709\u4e86\u8be6\u7ec6\u7684\u7814\u7a76\u3002\u672c\u6587\u603b\u7ed3\u4e00\u4e9b\u76f8\u5173\u7684\u914d\u7f6e\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"nginx \u6027\u80fd\u6d4b\u8bd5\" src=\"http:\/\/7xrgh9.com1.z0.glb.clouddn.com\/16-5-20\/38970431.jpg\" style=\"width: 790px; height: 359px;\" \/>\n<\/p>\n<p>\n\t#\u5b9a\u4e49Nginx\u8fd0\u884c\u7684\u7528\u6237\u548c\u7528\u6237\u7ec4<br \/>\n\tuser www www;\n<\/p>\n<p>\n\t#nginx\u8fdb\u7a0b\u6570\uff0c\u5efa\u8bae\u8bbe\u7f6e\u4e3a\u7b49\u4e8eCPU\u603b\u6838\u5fc3\u6570\u3002<br \/>\n\tworker_processes 8;\n<\/p>\n<p>\n\t#\u5168\u5c40\u9519\u8bef\u65e5\u5fd7\u5b9a\u4e49\u7c7b\u578b\uff0c[ debug | info | notice | warn | error | crit ]<br \/>\n\terror_log \/var\/log\/nginx\/error.log info;\n<\/p>\n<p>\n\t#\u8fdb\u7a0b\u6587\u4ef6<br \/>\n\tpid \/var\/run\/nginx.pid;\n<\/p>\n<p>\n\t#\u4e00\u4e2anginx\u8fdb\u7a0b\u6253\u5f00\u7684\u6700\u591a\u6587\u4ef6\u63cf\u8ff0\u7b26\u6570\u76ee\uff0c\u7406\u8bba\u503c\u5e94\u8be5\u662f\u6700\u591a\u6253\u5f00\u6587\u4ef6\u6570\uff08\u7cfb\u7edf\u7684\u503culimit -n\uff09\u4e0enginx\u8fdb\u7a0b\u6570\u76f8\u9664\uff0c\u4f46\u662fnginx\u5206\u914d\u8bf7\u6c42\u5e76\u4e0d\u5747\u5300\uff0c\u6240\u4ee5\u5efa\u8bae\u4e0eulimit -n\u7684\u503c\u4fdd\u6301\u4e00\u81f4\u3002<br \/>\n\tworker_rlimit_nofile 65535;\n<\/p>\n<p>\n\t#\u5de5\u4f5c\u6a21\u5f0f\u4e0e\u8fde\u63a5\u6570\u4e0a\u9650<br \/>\n\tevents<br \/>\n\t{<br \/>\n\t#\u53c2\u8003\u4e8b\u4ef6\u6a21\u578b\uff0cuse [ kqueue | rtsig | epoll | \/dev\/poll | select | poll ]; epoll\u6a21\u578b\u662fLinux 2.6\u4ee5\u4e0a\u7248\u672c\u5185\u6838\u4e2d\u7684\u9ad8\u6027\u80fd\u7f51\u7edcI\/O\u6a21\u578b\uff0c\u5982\u679c\u8dd1\u5728FreeBSD\u4e0a\u9762\uff0c\u5c31\u7528kqueue\u6a21\u578b\u3002<br \/>\n\tuse epoll;<br \/>\n\t#\u5355\u4e2a\u8fdb\u7a0b\u6700\u5927\u8fde\u63a5\u6570\uff08\u6700\u5927\u8fde\u63a5\u6570=\u8fde\u63a5\u6570*\u8fdb\u7a0b\u6570\uff09<br \/>\n\tworker_connections 65535;<br \/>\n\t}\n<\/p>\n<p>\n\t#\u8bbe\u5b9ahttp\u670d\u52a1\u5668<br \/>\n\thttp<br \/>\n\t{<br \/>\n\tinclude mime.types; #\u6587\u4ef6\u6269\u5c55\u540d\u4e0e\u6587\u4ef6\u7c7b\u578b\u6620\u5c04\u8868<br \/>\n\tdefault_type application\/octet-stream; #\u9ed8\u8ba4\u6587\u4ef6\u7c7b\u578b<br \/>\n\t#charset utf-8; #\u9ed8\u8ba4\u7f16\u7801<br \/>\n\tserver_names_hash_bucket_size 128; #\u670d\u52a1\u5668\u540d\u5b57\u7684hash\u8868\u5927\u5c0f<br \/>\n\tclient_header_buffer_size 32k; #\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236<br \/>\n\tlarge_client_header_buffers 4 64k; #\u8bbe\u5b9a\u8bf7\u6c42\u7f13<br \/>\n\tclient_max_body_size 8m; #\u8bbe\u5b9a\u8bf7\u6c42\u7f13<br \/>\n\tsendfile on; #\u5f00\u542f\u9ad8\u6548\u6587\u4ef6\u4f20\u8f93\u6a21\u5f0f\uff0csendfile\u6307\u4ee4\u6307\u5b9anginx\u662f\u5426\u8c03\u7528sendfile\u51fd\u6570\u6765\u8f93\u51fa\u6587\u4ef6\uff0c\u5bf9\u4e8e\u666e\u901a\u5e94\u7528\u8bbe\u4e3a on\uff0c\u5982\u679c\u7528\u6765\u8fdb\u884c\u4e0b\u8f7d\u7b49\u5e94\u7528\u78c1\u76d8IO\u91cd\u8d1f\u8f7d\u5e94\u7528\uff0c\u53ef\u8bbe\u7f6e\u4e3aoff\uff0c\u4ee5\u5e73\u8861\u78c1\u76d8\u4e0e\u7f51\u7edcI\/O\u5904\u7406\u901f\u5ea6\uff0c\u964d\u4f4e\u7cfb\u7edf\u7684\u8d1f\u8f7d\u3002\u6ce8\u610f\uff1a\u5982\u679c\u56fe\u7247\u663e\u793a\u4e0d\u6b63\u5e38\u628a\u8fd9\u4e2a\u6539\u6210off\u3002<br \/>\n\tautoindex on; #\u5f00\u542f\u76ee\u5f55\u5217\u8868\u8bbf\u95ee\uff0c\u5408\u9002\u4e0b\u8f7d\u670d\u52a1\u5668\uff0c\u9ed8\u8ba4\u5173\u95ed\u3002<br \/>\n\ttcp_nopush on; #\u9632\u6b62\u7f51\u7edc\u963b\u585e<br \/>\n\ttcp_nodelay on; #\u9632\u6b62\u7f51\u7edc\u963b\u585e<br \/>\n\tkeepalive_timeout 120; #\u957f\u8fde\u63a5\u8d85\u65f6\u65f6\u95f4\uff0c\u5355\u4f4d\u662f\u79d2\n<\/p>\n<p>\n\t#FastCGI\u76f8\u5173\u53c2\u6570\u662f\u4e3a\u4e86\u6539\u5584\u7f51\u7ad9\u7684\u6027\u80fd\uff1a\u51cf\u5c11\u8d44\u6e90\u5360\u7528\uff0c\u63d0\u9ad8\u8bbf\u95ee\u901f\u5ea6\u3002\u4e0b\u9762\u53c2\u6570\u770b\u5b57\u9762\u610f\u601d\u90fd\u80fd\u7406\u89e3\u3002<br \/>\n\tfastcgi_connect_timeout 300;<br \/>\n\tfastcgi_send_timeout 300;<br \/>\n\tfastcgi_read_timeout 300;<br \/>\n\tfastcgi_buffer_size 64k;<br \/>\n\tfastcgi_buffers 4 64k;<br \/>\n\tfastcgi_busy_buffers_size 128k;<br \/>\n\tfastcgi_temp_file_write_size 128k;\n<\/p>\n<p>\n\t#gzip\u6a21\u5757\u8bbe\u7f6e<br \/>\n\tgzip on; #\u5f00\u542fgzip\u538b\u7f29\u8f93\u51fa<br \/>\n\tgzip_min_length 1k; #\u6700\u5c0f\u538b\u7f29\u6587\u4ef6\u5927\u5c0f<br \/>\n\tgzip_buffers 4 16k; #\u538b\u7f29\u7f13\u51b2\u533a<br \/>\n\tgzip_http_version 1.0; #\u538b\u7f29\u7248\u672c\uff08\u9ed8\u8ba41.1\uff0c\u524d\u7aef\u5982\u679c\u662fsquid2.5\u8bf7\u4f7f\u75281.0\uff09<br \/>\n\tgzip_comp_level 2; #\u538b\u7f29\u7b49\u7ea7<br \/>\n\tgzip_types text\/plain application\/x-javascript text\/css application\/xml;<br \/>\n\t#\u538b\u7f29\u7c7b\u578b\uff0c\u9ed8\u8ba4\u5c31\u5df2\u7ecf\u5305\u542btext\/html\uff0c\u6240\u4ee5\u4e0b\u9762\u5c31\u4e0d\u7528\u518d\u5199\u4e86\uff0c\u5199\u4e0a\u53bb\u4e5f\u4e0d\u4f1a\u6709\u95ee\u9898\uff0c\u4f46\u662f\u4f1a\u6709\u4e00\u4e2awarn\u3002<br \/>\n\tgzip_vary on;<br \/>\n\t#limit_zone crawler $binary_remote_addr 10m; #\u5f00\u542f\u9650\u5236IP\u8fde\u63a5\u6570\u7684\u65f6\u5019\u9700\u8981\u4f7f\u7528\n<\/p>\n<p>\n\tupstream blog.ha97.com {<br \/>\n\t#upstream\u7684\u8d1f\u8f7d\u5747\u8861\uff0cweight\u662f\u6743\u91cd\uff0c\u53ef\u4ee5\u6839\u636e\u673a\u5668\u914d\u7f6e\u5b9a\u4e49\u6743\u91cd\u3002weigth\u53c2\u6570\u8868\u793a\u6743\u503c\uff0c\u6743\u503c\u8d8a\u9ad8\u88ab\u5206\u914d\u5230\u7684\u51e0\u7387\u8d8a\u5927\u3002<br \/>\n\tserver 192.168.80.121:80 weight=3;<br \/>\n\tserver 192.168.80.122:80 weight=2;<br \/>\n\tserver 192.168.80.123:80 weight=3;<br \/>\n\t}\n<\/p>\n<p>\n\t#\u865a\u62df\u4e3b\u673a\u7684\u914d\u7f6e<br \/>\n\tserver<br \/>\n\t{<br \/>\n\t#\u76d1\u542c\u7aef\u53e3<br \/>\n\tlisten 80;<br \/>\n\t#\u57df\u540d\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u7528\u7a7a\u683c\u9694\u5f00<br \/>\n\tserver_name www.ha97.com ha97.com;<br \/>\n\tindex index.html index.htm index.php;<br \/>\n\troot \/data\/www\/ha97;<br \/>\n\tlocation ~ .*\\.(php|php5)?$<br \/>\n\t{<br \/>\n\tfastcgi_pass 127.0.0.1:9000;<br \/>\n\tfastcgi_index index.php;<br \/>\n\tinclude fastcgi.conf;<br \/>\n\t}<br \/>\n\t#\u56fe\u7247\u7f13\u5b58\u65f6\u95f4\u8bbe\u7f6e<br \/>\n\tlocation ~ .*\\.(gif|jpg|jpeg|png|bmp|swf)$<br \/>\n\t{<br \/>\n\texpires 10d;<br \/>\n\t}<br \/>\n\t#JS\u548cCSS\u7f13\u5b58\u65f6\u95f4\u8bbe\u7f6e<br \/>\n\tlocation ~ .*\\.(js|css)?$<br \/>\n\t{<br \/>\n\texpires 1h;<br \/>\n\t}<br \/>\n\t#\u65e5\u5fd7\u683c\u5f0f\u8bbe\u5b9a<br \/>\n\tlog_format access &#39;$remote_addr &#8211; $remote_user [$time_local] &quot;$request&quot; &#39;<br \/>\n\t&#39;$status $body_bytes_sent &quot;$http_referer&quot; &#39;<br \/>\n\t&#39;&quot;$http_user_agent&quot; $http_x_forwarded_for&#39;;<br \/>\n\t#\u5b9a\u4e49\u672c\u865a\u62df\u4e3b\u673a\u7684\u8bbf\u95ee\u65e5\u5fd7<br \/>\n\taccess_log \/var\/log\/nginx\/ha97access.log access;\n<\/p>\n<p>\n\t#\u5bf9 &quot;\/&quot; \u542f\u7528\u53cd\u5411\u4ee3\u7406<br \/>\n\tlocation \/ {<br \/>\n\tproxy_pass http:\/\/127.0.0.1:88;<br \/>\n\tproxy_redirect off;<br \/>\n\tproxy_set_header X-Real-IP $remote_addr;<br \/>\n\t#\u540e\u7aef\u7684Web\u670d\u52a1\u5668\u53ef\u4ee5\u901a\u8fc7X-Forwarded-For\u83b7\u53d6\u7528\u6237\u771f\u5b9eIP<br \/>\n\tproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n\t#\u4ee5\u4e0b\u662f\u4e00\u4e9b\u53cd\u5411\u4ee3\u7406\u7684\u914d\u7f6e\uff0c\u53ef\u9009\u3002<br \/>\n\tproxy_set_header Host $host;<br \/>\n\tclient_max_body_size 10m; #\u5141\u8bb8\u5ba2\u6237\u7aef\u8bf7\u6c42\u7684\u6700\u5927\u5355\u6587\u4ef6\u5b57\u8282\u6570<br \/>\n\tclient_body_buffer_size 128k; #\u7f13\u51b2\u533a\u4ee3\u7406\u7f13\u51b2\u7528\u6237\u7aef\u8bf7\u6c42\u7684\u6700\u5927\u5b57\u8282\u6570\uff0c<br \/>\n\tproxy_connect_timeout 90; #nginx\u8ddf\u540e\u7aef\u670d\u52a1\u5668\u8fde\u63a5\u8d85\u65f6\u65f6\u95f4(\u4ee3\u7406\u8fde\u63a5\u8d85\u65f6)<br \/>\n\tproxy_send_timeout 90; #\u540e\u7aef\u670d\u52a1\u5668\u6570\u636e\u56de\u4f20\u65f6\u95f4(\u4ee3\u7406\u53d1\u9001\u8d85\u65f6)<br \/>\n\tproxy_read_timeout 90; #\u8fde\u63a5\u6210\u529f\u540e\uff0c\u540e\u7aef\u670d\u52a1\u5668\u54cd\u5e94\u65f6\u95f4(\u4ee3\u7406\u63a5\u6536\u8d85\u65f6)<br \/>\n\tproxy_buffer_size 4k; #\u8bbe\u7f6e\u4ee3\u7406\u670d\u52a1\u5668\uff08nginx\uff09\u4fdd\u5b58\u7528\u6237\u5934\u4fe1\u606f\u7684\u7f13\u51b2\u533a\u5927\u5c0f<br \/>\n\tproxy_buffers 4 32k; #proxy_buffers\u7f13\u51b2\u533a\uff0c\u7f51\u9875\u5e73\u5747\u572832k\u4ee5\u4e0b\u7684\u8bbe\u7f6e<br \/>\n\tproxy_busy_buffers_size 64k; #\u9ad8\u8d1f\u8377\u4e0b\u7f13\u51b2\u5927\u5c0f\uff08proxy_buffers*2\uff09<br \/>\n\tproxy_temp_file_write_size 64k;<br \/>\n\t#\u8bbe\u5b9a\u7f13\u5b58\u6587\u4ef6\u5939\u5927\u5c0f\uff0c\u5927\u4e8e\u8fd9\u4e2a\u503c\uff0c\u5c06\u4eceupstream\u670d\u52a1\u5668\u4f20<br \/>\n\t}\n<\/p>\n<p>\n\t#\u8bbe\u5b9a\u67e5\u770bNginx\u72b6\u6001\u7684\u5730\u5740<br \/>\n\tlocation \/NginxStatus {<br \/>\n\tstub_status on;<br \/>\n\taccess_log on;<br \/>\n\tauth_basic &quot;NginxStatus&quot;;<br \/>\n\tauth_basic_user_file conf\/htpasswd;<br \/>\n\t#htpasswd\u6587\u4ef6\u7684\u5185\u5bb9\u53ef\u4ee5\u7528apache\u63d0\u4f9b\u7684htpasswd\u5de5\u5177\u6765\u4ea7\u751f\u3002<br \/>\n\t}\n<\/p>\n<p>\n\t#\u672c\u5730\u52a8\u9759\u5206\u79bb\u53cd\u5411\u4ee3\u7406\u914d\u7f6e<br \/>\n\t#\u6240\u6709jsp\u7684\u9875\u9762\u5747\u4ea4\u7531tomcat\u6216resin\u5904\u7406<br \/>\n\tlocation ~ .(jsp|jspx|do)?$ {<br \/>\n\tproxy_set_header Host $host;<br \/>\n\tproxy_set_header X-Real-IP $remote_addr;<br \/>\n\tproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n\tproxy_pass http:\/\/127.0.0.1:8080;<br \/>\n\t}<br \/>\n\t#\u6240\u6709\u9759\u6001\u6587\u4ef6\u7531nginx\u76f4\u63a5\u8bfb\u53d6\u4e0d\u7ecf\u8fc7tomcat\u6216resin<br \/>\n\tlocation ~ .*.(htm|html|gif|jpg|jpeg|png|bmp|swf|ioc|rar|zip|txt|flv|mid|doc|ppt|pdf|xls|mp3|wma)$<br \/>\n\t{ expires 15d; }<br \/>\n\tlocation ~ .*.(js|css)?$<br \/>\n\t{ expires 1h; }<br \/>\n\t}<br \/>\n\t}\n<\/p>\n<p>\n\t\u66f4\u8be6\u7ec6\u7684\u6a21\u5757\u53c2\u6570\u8bf7\u53c2\u8003\uff1a<a href=\"https:\/\/www.nginx.com\/resources\/wiki\/\" name=\"nginx \u914d\u7f6e\" target=\"_blank\" title=\"nginx \u914d\u7f6e\">https:\/\/www.nginx.com\/resources\/wiki\/<\/a><\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1592\">Nginx\u914d\u7f6e\u6587\u4ef6nginx.conf\u6559\u7a0b<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u53d1\u73b0\u5fae\u4fe1\u516c\u4f17\u53f7\u4f7f\u7528\u7684\u662fnginx\u670d\u52a1\u5668\u3002\u800c\u6211\u7684CODE\u5927\u5168\u7f51\u7ad9\u4f7f\u7528\u7684\u4e5f\u662fnginx\uff0c\u56e0\u6b64\u5bf9nginx\u670d\u52a1\u5668 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[1331,1152,1154,1330,78],"class_list":["post-1592","post","type-post","status-publish","format-standard","hentry","category-java","category-yyzt","tag-http","tag-nginx","tag-1330","tag-78"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1592"}],"version-history":[{"count":2,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1592\/revisions"}],"predecessor-version":[{"id":1594,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1592\/revisions\/1594"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}