{"id":941,"date":"2021-05-11T11:08:29","date_gmt":"2021-05-11T11:08:29","guid":{"rendered":"http:\/\/www.liutianfeng.com\/?p=941"},"modified":"2022-06-16T13:58:54","modified_gmt":"2022-06-16T13:58:54","slug":"nginx%e9%85%8d%e7%bd%ae%e6%b1%87%e6%80%bb","status":"publish","type":"post","link":"https:\/\/www.liutianfeng.com\/?p=941","title":{"rendered":"Nginx"},"content":{"rendered":"<h2>nginx -h<\/h2>\n<pre class=\"pure-highlightjs\"><code class=\"\"># nginx -h\r\nnginx version: nginx\/1.18.0\r\nUsage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives]\r\n\r\nOptions:\r\n  -?,-h         : this help\r\n  -v            : show version and exit                         # \u4ec5\u663e\u793a\u7248\u672c\r\n  -V            : show version and configure options then exit  # \u663e\u793a\u7248\u672c\u548c\u7f16\u8bd1\u65f6\u5019\u7684cnofigure\u4fe1\u606f\r\n  -t            : test configuration and exit                   # \u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6\r\n  -T            : test configuration, dump it and exit          # \u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u96c6\u5408\u6240\u6709\u914d\u7f6e\u5e76\u6253\u5370\u51fa\u6765\r\n  -q            : suppress non-error messages during configuration testing      # \u914d\u5408-t\uff0c\u4e0d\u663e\u793a\u914d\u7f6eok\u7684\u63d0\u793a\u4fe1\u606f\r\n  -s signal     : send signal to a master process: stop, quit, reopen, reload   # \u53ef\u63a5\u53d7\u7684\u4fe1\u53f7\uff1astop\u5f3a\u505c\uff0cquit\u4f18\u96c5\u5730\u505c\uff0creopen\u91cd\u65b0\u6253\u5f00\u65e5\u5fd7\u6587\u4ef6\uff08\u7b49\u4e8ekill -USR1\uff09\uff0creload\uff0c\u4f18\u96c5\u5730\u91cd\u65b0\u542f\u52a8\uff08\u5148quit\uff0c\u518d\u542f\u52a8\uff09\r\n  -p prefix     : set prefix path (default: \/usr\/local\/nginx-1.18.0\/)\r\n  -c filename   : set configuration file (default: conf\/nginx.conf)             # \u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\r\n  -g directives : set global directives out of configuration file\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0#\u00a0nginx\u00a0-g\u00a0'daemon off;'\uff0c\u56fa\u5b9a\u7528\u53d1\uff0cnginx\u5728\u524d\u53f0\u8fd0\u884c\uff0c\u5982docker\u4e2d\u4e00\u822c\u4fdd\u6301nginx\u3010pid=1\u3011\u524d\u53f0\u8fd0\u884c\uff0c\u5426\u5219docker\u5728\u542f\u52a8\u540epid\u7684\u8fdb\u7a0b\u9500\u6bc1\uff0c\u5065\u5eb7\u68c0\u67e5\u5931\u8d25\u5c31\u505c\u6b62\u4e86\u3002<\/code><\/pre>\n<h2>\u8d1f\u8f7d\u5747\u8861<\/h2>\n<p>\u8fd9\u91cc\uff0cnginx.conf\u4e2d\u6dfb\u52a0include conf.d\/*.conf;\u914d\u7f6e\uff0c\u5728conf.d\u4e0b\u5efa\u7acb\u72ec\u7acb\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">&gt; vim admin.conf\r\nupstream admin{\r\nserver 192.168.80.12:8080;\r\nserver 192.168.80.13:8080;\r\n}\r\n\r\nserver {\r\n    listen       8090;\r\n    server_name  admin;\r\n\r\n    location ^~ \/lius-release {\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Host $http_host;\r\n        proxy_set_header Host test-lius.skelchina.com;\r\n        proxy_pass http:\/\/admin;\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u5176\u4e2d\uff0c12\u548c13\uff0c\u5206\u522b\u662f\u4e24\u53f0tomcat\uff0c8080\u7aef\u53e3\u4e2d\u6709\u914d\u7f6e\u7684\u6d4b\u8bd5\u7a0b\u5e8f\uff0c\u5176\u4e2d\u4e24\u4e2a\u7a0b\u5e8f\u4e2d\u7684\u5185\u5bb9\u4e0d\u4e00\u6837\uff0c\u4e3a\u4e86\u4fbf\u4e8e\u6d4b\u8bd5\uff0c\u5c06index.html\u91cc\u7684\u5185\u5bb9\u7528\u6587\u672c002\u548c003\u66ff\u6362\u3002<\/p>\n<p>server\u7684\u76d1\u542c\u6d4b\u8bd5\u4e2d\u4f7f\u7528\u4e868090\uff0clocation\u4e2d\u5339\u914dlius-release\u8fdb\u884c\u4ee3\u7406\u3002<\/p>\n<p>\u6d4b\u8bd5\u4e2d\uff0c\u4f7f\u7528\u6d4f\u89c8\u5668\u7684\u8bdd\uff0c\u56e0\u4e3a\u7f13\u5b58\u7684\u539f\u56e0\uff0c\u5bfc\u81f4\u4e0d\u4f1a\u6309\u7167\u8f6e\u8be2\u7684\u65b9\u5f0f\u6bcf\u6b21\u90fd\u5207\u6362\uff0c\u56e0\u6b64\u91c7\u7528shell\u540e\u53f0curl\u7684\u5f62\u5f0f\u6d4b\u8bd5\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\"># curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n002\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n003\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n002\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n003<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u6bcf\u6b21\u5207\u6362\u90fd\u4f1a\u4e0d\u4e00\u6837\u3002<\/p>\n<p>\u5982\u679c\u8981\u4e0d\u505c\u670d\u53d8\u66f4\uff0c\u53ea\u9700\u8981\u5c06\u4e00\u4e2a\u8282\u70b9\u7684upstream\u914d\u7f6e\u53d8\u4e3adown\uff0c\u53e6\u4e00\u4e2a\u914d\u7f6e\u4e3abackup\uff0c\u91cd\u8f7dnginx\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">&gt; vim admin.conf   # \u4e0b\u9762\u4ec5\u5217\u51fa\u53d8\u52a8\u7684\u914d\u7f6e\r\nupstream admin{\r\nserver 192.168.80.12:8080 backup;\r\nserver 192.168.80.13:8080 down;\r\n}\r\n&gt; \/usr\/local\/nginx-1.18.0\/sbin\/nginx -s reload\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/   # \u4e0d\u518d\u53d8\u52a8\r\n002\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n002\r\n# curl http:\/\/192.168.80.11:8090\/lius-release\/\r\n002<\/code><\/pre>\n<p>2\u3001\u8bbf\u95ee\u5b89\u5168\u914d\u7f6e<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\"># \u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/blog.csdn.net\/u010505805\/article\/details\/94616791\r\nserver\r\n{\r\n    listen 80;\r\n    server_name www.5isousuo.com www.liqinglin.cn www.5wwfu6.cn;\r\n    index index.php index.html index.htm default.php default.htm default.html;\r\n    root \/www\/wwwroot\/qqbt.app\/public;\r\n        location \/ {\r\n                #\u7981\u6b62Scrapy\u7b49\u5de5\u5177\u7684\u6293\u53d6\r\n                if ($http_user_agent ~* (Scrapy|Curl|HttpClient)) {\r\n                     return 403;\r\n                }\r\n                #\u7981\u6b62\u6307\u5b9aUA\u53caUA\u4e3a\u7a7a\u7684\u8bbf\u95ee\r\n                if ($http_user_agent ~* \"FeedDemon|Indy Library|Alexa Toolbar|AskTbFXTV|AhrefsBot|CrawlDaddy|CoolpadWebkit|Java|Feedly|UniversalFeedParser|ApacheBench|Microsoft URL Control|Swiftbot|ZmEu|oBot|jaunty|Python-urllib|lightDeckReports Bot|YYSpider|DigExt|HttpClient|MJ12bot|heritrix|EasouSpider|Ezooms|^$\" ) {\r\n                     return 403;             \r\n                }\r\n                #\u7981\u6b62\u975eGET|HEAD|POST\u65b9\u5f0f\u7684\u6293\u53d6\r\n                if ($request_method !~ ^(GET|HEAD|POST)$) {\r\n                    return 403;\r\n                }\r\n        index  index.php index.html index.htm;\r\n         #\u5982\u679c\u8bf7\u6c42\u65e2\u4e0d\u662f\u4e00\u4e2a\u6587\u4ef6\uff0c\u4e5f\u4e0d\u662f\u4e00\u4e2a\u76ee\u5f55\uff0c\u5219\u6267\u884c\u4e00\u4e0b\u91cd\u5199\u89c4\u5219\r\n         if (!-e $request_filename)\r\n         {\r\n            #\u5730\u5740\u4f5c\u4e3a\u5c06\u53c2\u6570rewrite\u5230index.php\u4e0a,\u8ba9\u8def\u7531\u652f\u6301pathonfo\u6a21\u5f0f\u3002\r\n            rewrite ^\/(.*)$ \/index.php?s=$1 last;\r\n            #\u82e5\u662f\u5b50\u76ee\u5f55\u5219\u4f7f\u7528\u4e0b\u9762\u8fd9\u53e5\uff0c\u5c06subdir\u6539\u6210\u76ee\u5f55\u540d\u79f0\u5373\u53ef\u3002\r\n            #rewrite ^\/subdir\/(.*)$ \/subdir\/index.php?s=$1;\r\n         }\r\n        client_max_body_size 100m;\r\n        #\u914d\u7f6e\u5982\u679c\u662fOPTIONS\u65b9\u6cd5\u76f4\u63a5\u8fd4\u56de204\u72b6\u6001\r\n      if ($request_method = 'OPTIONS') {\r\n           add_header 'Access-Control-Allow-Origin' '*' always;\r\n           add_header 'Access-Control-Allow-Credentials' 'true';\r\n           add_header 'Access-Control-Allow-Methods' 'GET, POST, PATCH, DELETE, PUT, OPTIONS';\r\n           add_header 'Access-Control-Allow-Headers' 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,  Access-Control-Expose-Headers, Token, Authorization';\r\n           add_header 'Access-Control-Max-Age' 1728000;\r\n           add_header 'Content-Type' 'text\/plain charset=UTF-8';\r\n           add_header 'Content-Length' 0;\r\n           return 204;\r\n      }   \r\n    }\r\n    #SSL-START SSL\u76f8\u5173\u914d\u7f6e\uff0c\u8bf7\u52ff\u5220\u9664\u6216\u4fee\u6539\u4e0b\u4e00\u884c\u5e26\u6ce8\u91ca\u7684404\u89c4\u5219\r\n    #error_page 404\/404.html;\r\n    #SSL-END\r\n    \r\n    #ERROR-PAGE-START  \u9519\u8bef\u9875\u914d\u7f6e\uff0c\u53ef\u4ee5\u6ce8\u91ca\u3001\u5220\u9664\u6216\u4fee\u6539\r\n    error_page 404 \/404.html;\r\n    error_page 502 \/502.html;\r\n    #ERROR-PAGE-END\r\n    \r\n    #PHP-INFO-START  PHP\u5f15\u7528\u914d\u7f6e\uff0c\u53ef\u4ee5\u6ce8\u91ca\u6216\u4fee\u6539\r\n    include enable-php-72.conf;\r\n    #PHP-INFO-END\r\n    \r\n    #REWRITE-START URL\u91cd\u5199\u89c4\u5219\u5f15\u7528,\u4fee\u6539\u540e\u5c06\u5bfc\u81f4\u9762\u677f\u8bbe\u7f6e\u7684\u4f2a\u9759\u6001\u89c4\u5219\u5931\u6548\r\n    include \/www\/server\/panel\/vhost\/rewrite\/qqbt.app.conf;\r\n    #REWRITE-END\r\n   \r\n    #\u7981\u6b62\u8bbf\u95ee\u7684\u6587\u4ef6\u6216\u76ee\u5f55\r\n    location ~ ^\/(\\.user.ini|\\.htaccess|\\.git|\\.svn|\\.project|LICENSE|README.md)\r\n    {\r\n        return 404;\r\n    }\r\n    \r\n}\r\n<\/code><\/pre>\n<h2>2\u3001Reload\u4e4b\u540e\u957f\u8fde\u63a5\u8d85\u65f6\u5f3a\u5236\u9000\u51fa<\/h2>\n<p><strong>Worker shutdown timeout<\/strong><\/p>\n<p>NGINX\u00a01.11.11 introduced a new\u00a0<a href=\"https:\/\/nginx.org\/en\/docs\/ngx_core_module.html#worker_shutdown_timeout\" target=\"_blank\" rel=\"noopener noreferrer\"><code>worker_shutdown_timeout<\/code><\/a>\u00a0directive to automatically close connections and shut down worker processes after a specified time.<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">Syntax:\tworker_shutdown_timeout time;   # \u4f8b\u5982\uff1aworker_shutdown_timeout 10s;\r\nDefault:\t\u2014\r\nContext:\tmain\r\nThis directive appeared in version 1.11.11.\r\nConfigures a timeout for a graceful shutdown of worker processes. When the time expires, nginx will try to close all the connections currently open to facilitate shutdown.<\/code><\/pre>\n<p>\u5b9e\u4f8b\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">#user  nobody;\r\nworker_processes  auto;\r\nworker_shutdown_timeout 10m;\u00a0\u00a0\u00a0#\u00a0\u4e0eworker_process\u5904\u4e8e\u4e00\u4e2a\u7ea7\u522b\u7684\u914d\u7f6e<\/code><\/pre>\n<p>\u9ed8\u8ba4\u5355\u4f4d\u662fs\uff0c\u4e0d\u52a0\u5355\u4f4d\u5373\u53ef\uff1b<\/p>\n<p>\u5355\u4f4d\u652f\u6301h\uff08\u5c0f\u65f6\uff09\u3001m\uff08\u5206\u949f\uff09\u3001s\uff08\u79d2\uff09\uff0c\u4e0d\u652f\u6301min\u4e4b\u7c7b\u7684\u975e\u7b80\u5199\u6a21\u5f0f\u3002<\/p>\n<h2>3\u3001nginx\u670d\u52a1<\/h2>\n<p>service\u7ba1\u7406<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\">#!\/bin\/bash\r\n#chkconfig: 2345 85 15   \r\n# Nginx management script for service.\r\n\r\nnginxd=\/usr\/local\/openresty\/nginx\/sbin\/nginx\r\nnginx_config=\/usr\/local\/openresty\/nginx\/conf\/nginx.conf\r\nnginx_pid=\/usr\/local\/openresty\/nginx\/logsnginx.pid\r\nRETVAL=0\r\nprog=\"nginx\"\r\n \r\n \r\n. \/etc\/rc.d\/init.d\/functions\r\n. \/etc\/sysconfig\/network\r\n[ \"x${NETWORKING}\" = \"xno\" ] &amp;&amp; exit 0\r\n[ -x $nginxd ] || exit 0\r\n \r\n \r\nstart() {\r\n    if [ -e $nginx_pid ];then\r\n        echo \"nginx already running....\"\r\n        exit 1\r\n    fi\r\n    echo -n $\"Starting $prog: \"\r\n    daemon $nginxd -c ${nginx_config}\r\n    RETVAL=$?\r\n    echo\r\n    [ $RETVAL = 0 ] &amp;&amp; touch \/var\/lock\/subsys\/nginx\r\n    return $RETVAL\r\n}\r\n\r\nstop() {\r\n    echo -n $\"Stopping $prog: \"\r\n    killproc $nginxd\r\n    RETVAL=$?\r\n    echo\r\n    [ $RETVAL = 0 ] &amp;&amp; rm -f \/var\/lock\/subsys\/nginx \/var\/run\/nginx.pid\r\n}\r\n\r\nreload() {\r\n    echo -n $\"Reloading $prog: \"\r\n    #kill -HUP `cat ${nginx_pid}`\r\n    killproc $nginxd -HUP\r\n    RETVAL=$?\r\n    echo\r\n}\r\n\r\ncase \"$1\" in\r\n    start)\r\n        start\r\n        ;;\r\n    stop)\r\n        stop\r\n        ;;\r\n    reload)\r\n        reload\r\n        ;;\r\n    restart)\r\n        stop\r\n        start\r\n        ;;\r\n    status)\r\n        status $prog\r\n        RETVAL=$?\r\n        ;;\r\n    *)\r\n        echo $\"Usage: $prog {start|stop|restart|reload|status|help}\"\r\n        exit 1\r\nesac\r\nexit $RETVAL\r\n\r\n\u7ba1\u7406\u547d\u4ee4\uff1a\r\nchkconfig\u00a0--add\u00a0nginx\r\nservice\u00a0nginx\u00a0stop\r\nservice\u00a0nginx\u00a0start\r\nservice\u00a0nginx\u00a0raload\r\nservice\u00a0nginx\u00a0status\r\nservice\u00a0nginx\u00a0restart<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>systemctl\u7ba1\u7406<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\"># vim \/usr\/lib\/systemd\/system\/nginx.service\r\n[Unit]\r\nDescription=nginx  web server\r\nDocumentation=http:\/\/nginx.org\/en\/docs\/\r\nAfter=network.target remote-fs.target nss-lookup.target\r\n \r\n[Service]\r\nType=forking\r\nPIDFile=\/usr\/local\/openresty\/nginx\/logs\/nginx.pid\r\nExecStartPre=\/usr\/local\/openresty\/nginx\/sbin\/nginx -t -c \/usr\/local\/openresty\/nginx\/conf\/nginx.conf\r\nExecStart=\/usr\/local\/openresty\/nginx\/sbin\/nginx -c \/usr\/local\/openresty\/nginx\/conf\/nginx.conf\r\nExecReload=\/bin\/kill -s HUP $MAINPID\r\nExecStop=\/bin\/kill -s QUIT $MAINPID\r\nPrivateTmp=true\r\n \r\n[Install]\r\nWantedBy=multi-user.target\r\n\r\n\u7ba1\u7406\u547d\u4ee4\uff1a\r\nsystemctl daemon-reload\r\nsystemctl start nginx\r\nsystemctl status nginx\r\nsystemctl enable nginx\r\nsystemctl is-enabled nginx<\/code><\/pre>\n<h2>Location<\/h2>\n<p>https:\/\/www.cnblogs.com\/ronghua\/p\/13043466.html<\/p>\n<p>\u8bed\u6cd5\u89c4\u5219\uff1a location [=|~|~*|^~] \/uri\/ {\u2026 }<br \/>\n\u9996\u5148\u5339\u914d =\uff0c\u5176\u6b21\u5339\u914d^~\uff0c\u5176\u6b21\u662f\u6309\u6587\u4ef6\u4e2d\u6b63\u5219\u7684\u5148\u540e\u987a\u5e8f\u5339\u914d\uff0c\u5f53\u6709\u5339\u914d\u6210\u529f\u65f6\u5019\uff0c\u505c\u6b62\u5339\u914d\u5e76\u6309\u5f53\u524d\u5339\u914d\u89c4\u5219\u5904\u7406\u8bf7\u6c42\uff0c\u5176\u4ed6\u6b63\u5219\u65e0\u6cd5\u5339\u914d\u5219\u6700\u540e\u4ea4\u7531\/\u901a\u914d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u6d4b\u8bd5\u4f7f\u7528\u7684\u6a21\u5757\u3010\u7c7b\u4f3cecho\u3011<\/h2>\n<pre class=\"pure-highlightjs\"><code class=\"\">location = \/lius {\r\n    default_type 'text\/plain';\r\n    return 200 \"lius1\";\r\n}<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>openresty\u505a\u6210\u670d\u52a1\uff1a<\/p>\n<pre class=\"pure-highlightjs\"><code class=\"\"># vim \/usr\/lib\/systemd\/system\/nginx.service\r\n[Unit]\r\nDescription=nginx  web server\r\nDocumentation=http:\/\/nginx.org\/en\/docs\/\r\nAfter=network.target remote-fs.target nss-lookup.target\r\n\r\n\r\n[Service]\r\nType=forking\r\nPIDFile=\/usr\/local\/openresty\/nginx\/logs\/nginx.pid\r\nExecStartPre=\/usr\/local\/openresty\/nginx\/sbin\/nginx -t -c \/usr\/local\/openresty\/nginx\/conf\/nginx.conf\r\nExecStart=\/usr\/local\/openresty\/nginx\/sbin\/nginx -c \/usr\/local\/openresty\/nginx\/conf\/nginx.conf\r\nExecReload=\/bin\/kill -s HUP $MAINPID\r\nExecStop=\/bin\/kill -s QUIT $MAINPID\r\nPrivateTmp=true\r\n[Install]\r\nWantedBy=multi-user.target<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"https:\/\/www.liutianfeng.com\">liutianfeng.com<\/a> &raquo; <a href=\"https:\/\/www.liutianfeng.com\/?p=941\">Nginx<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>nginx -h # nginx -h nginx version: nginx\/1.18.0 Usage:  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[50],"tags":[],"_links":{"self":[{"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/941"}],"collection":[{"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=941"}],"version-history":[{"count":11,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/941\/revisions"}],"predecessor-version":[{"id":1155,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=\/wp\/v2\/posts\/941\/revisions\/1155"}],"wp:attachment":[{"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liutianfeng.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}