{"id":5763,"date":"2024-07-13T10:00:00","date_gmt":"2024-07-13T03:00:00","guid":{"rendered":"https:\/\/longvan.net\/cong-dong\/?p=5763"},"modified":"2024-10-27T20:47:33","modified_gmt":"2024-10-27T13:47:33","slug":"huong-dan-thiet-lap-nginx-lam-reverse-proxy","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy"},"content":{"rendered":"<p><strong>Y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t<\/strong><br \/>\n&#8211; H\u1ec7 \u0111i\u1ec1u h\u00e0nh ho\u1eb7c server linux t\u01b0\u01a1ng th\u00edch centos\/ubuntu\/&#8230;<br \/>\n&#8211; C\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0 t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng root ho\u1eb7c sudo<\/p>\n<h3><strong>I. C\u00e0i \u0111\u1eb7t NGINX<\/strong><\/h3>\n<p>\u0110\u1ea3m b\u1ea3o NGINX \u0111\u00e3 c\u00e0i \u0111\u1eb7t tr\u00ean m\u00e1y ch\u1ee7. H\u00e3y th\u1ef1c hi\u1ec7n theo c\u00e1c b\u01b0\u1edbc b\u00ean d\u01b0\u1edbi<\/p>\n<p>1. C\u1eadp nh\u1eadt danh s\u00e1ch c\u00e1c g\u00f3i apt repository<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo apt update <\/span><\/code><\/pre>\n<p>2. C\u00e0i \u0111\u1eb7t NGINX b\u1eb1ng l\u1ec7nh sau<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo apt install nginx <\/span><\/code><\/pre>\n<p>Ch\u1edd qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t.<\/p>\n<p>3. Ki\u1ec3m tra phi\u00ean b\u1ea3n NGINX<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">nginx -v<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5779 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png\" alt=\"\" width=\"672\" height=\"42\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png 672w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1-300x19.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/p>\n<p>L\u1ec7nh hi\u1ec7n ra th\u00f4ng tin phi\u00ean b\u1ea3n NGINX, cho bi\u1ebft qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t \u0111\u00e3 th\u00e0nh c\u00f4ng.<\/p>\n<h3><strong>II. Kh\u1edfi \u0111\u1ed9ng NGINX v\u00e0 c\u1ea5u h\u00ecnh NGINX t\u1ef1 kh\u1edfi ch\u1ea1y khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i<\/strong><\/h3>\n<p>C\u00e1c l\u1ec7nh sau \u0111\u00e2y kh\u1edfi \u0111\u1ed9ng NGINX v\u00e0 t\u1ef1 \u0111\u1ed9ng ch\u1ea1y NGINX sau khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i<br \/>\n1. Kh\u1edfi \u0111\u1ed9ng service NGINX b\u1eb1ng l\u1ec7nh <strong>systemctl<\/strong><\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo systemctl start nginx<\/span><\/code><\/pre>\n<p>2. Thi\u1ebft l\u1eadp c\u1ea5u h\u00ecnh NGINX t\u1ef1 \u0111\u1ed9ng kh\u1edfi ch\u1ea1y sau khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i, h\u00e3y ch\u1ea1y l\u1ec7nh enable<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo systemctl enable nginx<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5810 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/2-e1720319159252.png\" alt=\"\" width=\"917\" height=\"57\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/2-e1720319159252.png 917w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/2-e1720319159252-300x19.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/2-e1720319159252-768x48.png 768w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/>L\u1ec7nh th\u1ef1c thi t\u1eadp l\u1ec7nh \u0111\u1ec3 cho ph\u00e9p NGINX kh\u1edfi ch\u1ea1y t\u1ef1 \u0111\u1ed9ng.<\/p>\n<p>3. \u0110\u1ec3 ki\u1ec3m tra tr\u1ea1ng th\u00e1i m\u00e1y ch\u1ee7 NGINX, h\u00e3y d\u00f9ng l\u1ec7nh:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo systemctl status nginx<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5820 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/3.png\" alt=\"\" width=\"1094\" height=\"325\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/3.png 1094w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/3-300x89.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/3-1024x304.png 1024w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/3-768x228.png 768w\" sizes=\"auto, (max-width: 1094px) 100vw, 1094px\" \/><\/p>\n<p>Th\u00f4ng tin hi\u1ec3n th\u1ecb tr\u1ea1ng th\u00e1i <strong>Active: active (running)<\/strong> cho th\u1ea5y d\u1ecbch v\u1ee5 \u0111ang ch\u1ea1y.<\/p>\n<h3><strong>III.<\/strong>\u00a0<strong>H\u1ee7y li\u00ean k\u1ebft (symlolic link) c\u1ea5u h\u00ecnh m\u1eb7c \u0111\u1ecbnh<\/strong><\/h3>\n<p>NGINX s\u1eed d\u1ee5ng t\u1eadp c\u1ea5u h\u00ecnh \u0111\u01b0\u1ee3c li\u00ean k\u1ebft m\u1eb7c \u0111\u1ecbnh. T\u1ea1o reverse proxy c\u1ea7n t\u1ea1o v\u00e0 li\u00ean k\u1ebft th\u1ee7 c\u00f4ng. \u0110\u1ec3 tr\u00e1nh c\u00e1c xung \u0111\u1ed9t ti\u1ec1m \u1ea9n ngo\u00e0i \u00fd mu\u1ed1n, hay d\u00f9ng l\u1ec7nh sau:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo unlink \/etc\/nginx\/sites-enabled\/default<\/span><\/code><\/pre>\n<p>L\u1ec7nh h\u1ee7y li\u00ean k\u1ebft t\u1ec7p c\u1ea5u h\u00ecnh m\u1eb7c \u0111\u1ecbnh.<\/p>\n<h3><strong>IV. T\u1ea1o t\u1ec7p c\u1ea5u h\u00ecnh m\u1edbi<\/strong><\/h3>\n<p>H\u00e3y c\u1ea5u h\u00ecnh theo d\u01b0\u1edbi \u0111\u00e2y \u0111\u1ec3 t\u1ea1o t\u1ec7p c\u1ea5u h\u00ecnh m\u1edbi:<br \/>\n1. T\u1ea1o m\u1ed9t t\u1ec7p m\u1edbi trong th\u01b0 m\u1ee5c NGINX <em>\/etc\/nginx\/site-available\u00a0<\/em><\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo vi \/etc\/nginx\/sites-available\/reverse-proxy<\/span><\/code><\/pre>\n<p>2. Thi\u1ebft l\u1eadp c\u1ea5u h\u00ecnh NGINX \u0111\u1ec3 ho\u1ea1t \u0111\u1ed9ng nh\u01b0 m\u1ed9t reverse proxy.<br \/>\nTh\u00eam c\u1ea5u h\u00ecnh m\u1eabu sau v\u00e0o t\u1ec7p:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">server {\n    listen 80;\n    server_name localhost;\n\n    location \/ {\n        proxy_pass http:\/\/127.0.0.1:8000;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5833 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/4-1.png\" alt=\"\" width=\"620\" height=\"229\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/4-1.png 620w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/4-1-300x111.png 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>C\u1ea5u h\u00ecnh bao g\u1ed3m <strong>server {&#8230;}<\/strong>\u00a0x\u1eed l\u00ed c\u00e1c y\u00eau c\u1ea7u ph\u00f9 h\u1ee3p v\u1edbi \u0111i\u1ec1u ki\u1ec7n \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh g\u1ed3m c\u00e1c d\u1eef li\u1ec7u:<\/p>\n<ul>\n<li><strong>listen 80: <\/strong>m\u00e1y ch\u1ee7 nh\u1eadn y\u00eau c\u1ea7u t\u1eeb HTTP \u0111\u1ebfn c\u1ed5ng 80<\/li>\n<li><strong>server_name localhost:\u00a0<\/strong>t\u00ean mi\u1ec1n c\u1ee7a web server mu\u1ed1n s\u1eed d\u1ee5ng. V\u00ed d\u1ee5 n\u00e0y s\u1eed d\u1ee5ng localhost \u0111\u1ec3 ki\u1ec3m tra th\u1eed nghi\u1ec7m ho\u1ea1t \u0111\u1ed9ng c\u1ee7a reverse proxy<\/li>\n<li><strong>location {&#8230;}:\u00a0<\/strong>c\u1ea5u h\u00ecnh cho \u0111\u01b0\u1eddng d\u1eabn URI \u0111\u01b0\u1ee3c ch\u1ec9 \u0111\u1ecbnh<\/li>\n<li><strong>proxy_pass<\/strong>\u00a0<strong>http:\/\/127.0.0.1:8000<\/strong><strong>: <\/strong>M\u00e1y ch\u1ee7 web m\u00e0 proxy NGINX y\u00eau c\u1ea7u. V\u00ed d\u1ee5 \u0111ang s\u1eed d\u1ee5ng IP m\u00e1y ch\u1ee7 c\u1ee5c b\u1ed9 tr\u00ean c\u1ed5ng 8000. C\u00f3 th\u1ec3 thay th\u1ebf s\u1eed d\u1ee5ng URL m\u00e1y ch\u1ee7 kh\u00e1c<\/li>\n<li><strong>proxy_set_header:\u00a0<\/strong>Thi\u1ebft l\u1eadp ti\u00eau \u0111\u1ec1 HTTP cho y\u00eau c\u1ea7u proxy. C\u00e1c ti\u00eau \u0111\u1ec1 \u0111\u1ec1 c\u1ea5p \u0111\u1ebfn m\u00e1y ch\u1ee7 ph\u1ee5 v\u00e0 cung c\u1ea5p b\u1ed5 sung th\u00f4ng tin v\u1ec1 y\u00eau c\u1ea7u c\u1ee7a client. Bao g\u1ed3m Header, IP, scheme (HTTP v\u00e0 HTTPS).<\/li>\n<\/ul>\n<p>L\u01b0u \u00fd thay th\u1ebf c\u1ed5ng, server_name v\u00e0 URL m\u00e1y ch\u1ee7 ph\u1ee5 b\u1eb1ng d\u1eef li\u1ec7u th\u1ef1c t\u1ebf.<br \/>\nV\u00ed d\u1ee5 n\u00e0y chuy\u1ec3n ti\u1ebfp t\u1ea5t c\u1ea3 c\u00e1c y\u00eau c\u1ea7u th\u1ef1c hi\u1ec7n \u0111\u1ebfn <strong>localhost<\/strong> \u0111\u1ebfn \u0111\u1ecba ch\u1ec9<strong> http:\/\/127.0.0.1:8000<\/strong><\/p>\n<p>3. L\u01b0u t\u1ec7p v\u00e0 tho\u00e1t tr\u00ecnh so\u1ea1n th\u1ea3o.<\/p>\n<h3><strong>V. Li\u00ean k\u1ebft v\u00e0 k\u00edch ho\u1ea1t t\u1ec7p c\u1ea5u h\u00ecnh m\u1edbi<\/strong><\/h3>\n<p>Li\u00ean k\u1ebft t\u1ec7p c\u1ea5u h\u00ecnh m\u1edbi v\u00e0 k\u00edch ho\u1ea1t n\u00f3 b\u1eb1ng l\u1ec7nh sau:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo ln -s \/etc\/nginx\/sites-available\/reverse-proxy \/etc\/nginx\/sites-enabled\/<\/span><\/code><\/pre>\n<p>Th\u01b0 m\u1ee5c \/etc\/nginx\/sites-enabled ch\u1ee9a c\u00e1c t\u1ec7p c\u1ea5u h\u00ecnh \u0111ang \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng.<br \/>\nNGINX s\u1eed d\u1ee5ng c\u00e1c c\u1ea5u h\u00ecnh \u0111\u01b0\u1ee3c li\u00ean k\u1ebft m\u1edbi \/etc\/nginx\/sites-enabled \u0111\u1ec3 x\u1eed l\u00ed c\u00e1c y\u00eau c\u1ea7u m\u00e0 kh\u00f4ng sao ch\u00e9p c\u00e1c t\u1ec7p c\u1ea5u h\u00ecnh.<\/p>\n<h3><strong>VI. Ki\u1ec3m tra v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i NGINX<\/strong><\/h3>\n<p>Ki\u1ec3m tra c\u00fa ph\u00e1p c\u1ea5u h\u00ecnh b\u1eb1ng l\u1ec7nh sau:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo nginx -t<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5846 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/5-1.png\" alt=\"\" width=\"829\" height=\"76\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/5-1.png 829w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/5-1-300x28.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/5-1-768x70.png 768w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/p>\n<p>\u0110\u1ec3 \u00e1p d\u1ee5ng c\u00e1c thay \u0111\u1ed5i, h\u00e3y kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u00e1y ch\u1ee7 NGINX:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">sudo systemctl restart nginx<\/span><\/code><\/pre>\n<p>Vi\u1ec7c kh\u1edfi \u0111\u1ed9ng l\u1ea1i kh\u00f4ng ph\u00e1t sinh l\u1ed7i c\u00fa ph\u00e1p, cho bi\u1ebft reverse proxy NGINX \u0111\u00e3 ho\u1ea1t \u0111\u1ed9ng h\u00e3y ki\u1ec3m tra<\/p>\n<h3><strong>VII. Ki\u1ec3m tra Reverse Proxy<\/strong><\/h3>\n<p>\u0110\u1ec3 ki\u1ec3m tra Reverse Proxy, ch\u00fang ta c\u1ea7n m\u1ed9t web server ho\u1eb7c \u1ee9ng d\u1ee5ng ch\u1ea1y backend, trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, Long V\u00e2n s\u1eed d\u1ee5ng backend l\u00e0 m\u1ed9t \u1ee9ng d\u1ee5ng v\u1edbi python. C\u1ee5 th\u1ec3 nh\u01b0 sau:<br \/>\n1. T\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c m\u1edbi g\u1ed3m m\u1ed9t trang index \u0111\u1ec3 th\u1eed nghi\u1ec7m:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">mkdir web_backend &amp;&amp; cd web_backend<\/span><\/code><\/pre>\n<p>L\u1ec7nh bao g\u1ed3m t\u1ea1o th\u01b0 m\u1ee5c v\u00e0 truy c\u1eadp \u0111\u1ebfn th\u01b0 m\u1ee5c m\u1edbi.<\/p>\n<p>2. T\u1ea1o m\u1ed9t t\u1ec7p index.html m\u1edbi \u0111\u1ec3 l\u00e0m trang ch\u1ee7<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">vi index.html<\/span><\/code><\/pre>\n<p>M\u00e1y ch\u1ee7 ph\u1ee5 s\u1ebd hi\u1ec3n th\u1ecb trang khi client truy c\u1eadp localhost<\/p>\n<p>3. Th\u00eam \u0111o\u1ea1n m\u00e3 sau v\u00e0o t\u1ec7p index.html:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\">&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;NGINX backend&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;h1&gt;Great!&lt;\/h1&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<p>\u0110\u00e2y l\u00e0 m\u00e3 t\u1ea1o trang HTML c\u01a1 b\u1ea3n.<\/p>\n<p>4. L\u01b0u v\u00e0 \u0111\u00f3ng t\u1ec7p.<\/p>\n<p>5. Ch\u1ea1y m\u00e1y ch\u1ee7 ph\u1ee5 trong c\u00f9ng th\u01b0 m\u1ee5c v\u1edbi t\u1ec7p index.html b\u1eb1ng l\u1ec7nh sau:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">python3 -m http.server<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5864 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/7.png\" alt=\"\" width=\"559\" height=\"118\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/7.png 559w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/7-300x63.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>L\u1ec7nh kh\u1edfi \u0111\u1ed9ng m\u00e1y ch\u1ee7 HTTP v\u1edbi c\u1ed5ng 8000 trang <em>index.html.<\/em><\/p>\n<p>6. Ch\u1ea1y ki\u1ec3m tra curl request t\u1edbi localhost trong terminal:<\/p>\n<pre style=\"color: #313131; border-radius: 4px; padding: 0.65em 0.65em;\"><code class=\"language-shell\"><span class=\"token function\">curl localhost<\/span><\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5872 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/8.png\" alt=\"\" width=\"343\" height=\"174\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/8.png 343w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/8-300x152.png 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/p>\n<p>Ngo\u00e0i ra, truy c\u1eadp th\u1eed t\u1eeb tr\u00ecnh duy\u1ec7t web.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5875 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/9.png\" alt=\"\" width=\"480\" height=\"134\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/9.png 480w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/9-300x84.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>Trong hai tr\u01b0\u1eddng h\u1ee3p, Reverse Proxy chuy\u1ec3n ti\u1ebfp y\u00eau c\u1ea7u c\u1ee7a m\u00e1y kh\u00e1ch t\u1edbi m\u00e1y ch\u1ee7 ph\u1ee5. M\u00e1y ch\u1ee7 ph\u1ee5 ph\u1ea3n h\u1ed3i v\u1edbi trang HTML, cho bi\u1ebft Reverse Proxy NGINX \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp ch\u00ednh x\u00e1c.<\/p>\n<p>Nh\u01b0 v\u1eady Long V\u00e2n \u0111\u00e3 ho\u00e0n th\u00e0nh h\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy . Ch\u00fac Qu\u00fd kh\u00e1ch th\u00e0nh c\u00f4ng!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t &#8211; H\u1ec7 \u0111i\u1ec1u h\u00e0nh ho\u1eb7c server linux t\u01b0\u01a1ng th\u00edch centos\/ubuntu\/&#8230; &#8211; C\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0 t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng root ho\u1eb7c sudo I. C\u00e0i \u0111\u1eb7t NGINX \u0110\u1ea3m b\u1ea3o NGINX \u0111\u00e3 c\u00e0i \u0111\u1eb7t tr\u00ean m\u00e1y ch\u1ee7. H\u00e3y th\u1ef1c hi\u1ec7n theo c\u00e1c b\u01b0\u1edbc b\u00ean d\u01b0\u1edbi 1. C\u1eadp nh\u1eadt danh s\u00e1ch c\u00e1c g\u00f3i [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oasis_is_in_workflow":0,"_oasis_original":0,"footnotes":""},"categories":[4],"tags":[5,355,356,165],"class_list":["post-5763","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-nginx","tag-reverse-proxy","tag-web-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n\" \/>\n<meta property=\"og:description\" content=\"Y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t &#8211; H\u1ec7 \u0111i\u1ec1u h\u00e0nh ho\u1eb7c server linux t\u01b0\u01a1ng th\u00edch centos\/ubuntu\/&#8230; &#8211; C\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0 t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng root ho\u1eb7c sudo I. C\u00e0i \u0111\u1eb7t NGINX \u0110\u1ea3m b\u1ea3o NGINX \u0111\u00e3 c\u00e0i \u0111\u1eb7t tr\u00ean m\u00e1y ch\u1ee7. H\u00e3y th\u1ef1c hi\u1ec7n theo c\u00e1c b\u01b0\u1edbc b\u00ean d\u01b0\u1edbi 1. C\u1eadp nh\u1eadt danh s\u00e1ch c\u00e1c g\u00f3i [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/\" \/>\n<meta property=\"og:site_name\" content=\"Long V\u00e2n\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-13T03:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-27T13:47:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"672\" \/>\n\t<meta property=\"og:image:height\" content=\"42\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"V\u0169 Thi\u1ec7n Quang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"V\u0169 Thi\u1ec7n Quang\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/\"},\"author\":{\"name\":\"V\u0169 Thi\u1ec7n Quang\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/d8575ab23f69ff6ff8fe27d082eb9f43\"},\"headline\":\"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy\",\"datePublished\":\"2024-07-13T03:00:00+00:00\",\"dateModified\":\"2024-10-27T13:47:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/\"},\"wordCount\":1201,\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/1-1.png\",\"keywords\":[\"Linux\",\"nginx\",\"reverse proxy\",\"web server\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/\",\"name\":\"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/1-1.png\",\"datePublished\":\"2024-07-13T03:00:00+00:00\",\"dateModified\":\"2024-10-27T13:47:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/1-1.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/1-1.png\",\"width\":672,\"height\":42},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"name\":\"Long V\u00e2n\",\"description\":\"C\u1ed9ng \u0110\u1ed3ng\",\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\",\"name\":\"Long V\u00e2n\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"width\":1300,\"height\":330,\"caption\":\"Long V\u00e2n\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/d8575ab23f69ff6ff8fe27d082eb9f43\",\"name\":\"V\u0169 Thi\u1ec7n Quang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g\",\"caption\":\"V\u0169 Thi\u1ec7n Quang\"},\"sameAs\":[\"http:\\\/\\\/longvan.net\"],\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/author\\\/thienquang\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/","og_locale":"vi_VN","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n","og_description":"Y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t &#8211; H\u1ec7 \u0111i\u1ec1u h\u00e0nh ho\u1eb7c server linux t\u01b0\u01a1ng th\u00edch centos\/ubuntu\/&#8230; &#8211; C\u00f3 quy\u1ec1n truy c\u1eadp v\u00e0 t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng root ho\u1eb7c sudo I. C\u00e0i \u0111\u1eb7t NGINX \u0110\u1ea3m b\u1ea3o NGINX \u0111\u00e3 c\u00e0i \u0111\u1eb7t tr\u00ean m\u00e1y ch\u1ee7. H\u00e3y th\u1ef1c hi\u1ec7n theo c\u00e1c b\u01b0\u1edbc b\u00ean d\u01b0\u1edbi 1. C\u1eadp nh\u1eadt danh s\u00e1ch c\u00e1c g\u00f3i [&hellip;]","og_url":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/","og_site_name":"Long V\u00e2n","article_published_time":"2024-07-13T03:00:00+00:00","article_modified_time":"2024-10-27T13:47:33+00:00","og_image":[{"width":672,"height":42,"url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png","type":"image\/png"}],"author":"V\u0169 Thi\u1ec7n Quang","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"V\u0169 Thi\u1ec7n Quang","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"7 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#article","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/"},"author":{"name":"V\u0169 Thi\u1ec7n Quang","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/d8575ab23f69ff6ff8fe27d082eb9f43"},"headline":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy","datePublished":"2024-07-13T03:00:00+00:00","dateModified":"2024-10-27T13:47:33+00:00","mainEntityOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/"},"wordCount":1201,"publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png","keywords":["Linux","nginx","reverse proxy","web server"],"articleSection":["Linux"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/","url":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/","name":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy - Long V\u00e2n","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#primaryimage"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png","datePublished":"2024-07-13T03:00:00+00:00","dateModified":"2024-10-27T13:47:33+00:00","breadcrumb":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#primaryimage","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/07\/1-1.png","width":672,"height":42},{"@type":"BreadcrumbList","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-thiet-lap-nginx-lam-reverse-proxy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/longvan.net\/cong-dong\/"},{"@type":"ListItem","position":2,"name":"H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp NGINX l\u00e0m Reverse Proxy"}]},{"@type":"WebSite","@id":"https:\/\/longvan.net\/cong-dong\/#website","url":"https:\/\/longvan.net\/cong-dong\/","name":"Long V\u00e2n","description":"C\u1ed9ng \u0110\u1ed3ng","publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/longvan.net\/cong-dong\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/longvan.net\/cong-dong\/#organization","name":"Long V\u00e2n","url":"https:\/\/longvan.net\/cong-dong\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","width":1300,"height":330,"caption":"Long V\u00e2n"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/d8575ab23f69ff6ff8fe27d082eb9f43","name":"V\u0169 Thi\u1ec7n Quang","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ae494bee7d6ab274d4c5215c38c7a27e24822330d41ab77e89f2bfbeebe6ba5d?s=96&d=mm&r=g","caption":"V\u0169 Thi\u1ec7n Quang"},"sameAs":["http:\/\/longvan.net"],"url":"https:\/\/longvan.net\/cong-dong\/author\/thienquang\/"}]}},"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/5763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=5763"}],"version-history":[{"count":87,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/5763\/revisions"}],"predecessor-version":[{"id":6893,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/5763\/revisions\/6893"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=5763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=5763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=5763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}