{"id":15731,"date":"2025-09-04T09:45:42","date_gmt":"2025-09-04T06:15:42","guid":{"rendered":"https:\/\/maralhost.com\/kb\/articles\/%d8%b4%d8%a8%da%a9%d9%87\/%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-ipv6-%d8%af%d8%b1-apache-%d9%88-nginx\/"},"modified":"2025-09-04T12:10:36","modified_gmt":"2025-09-04T08:40:36","slug":"%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-ipv6-%d8%af%d8%b1-apache-%d9%88-nginx","status":"publish","type":"docs","link":"https:\/\/maralhost.com\/kb\/docs\/%d8%b4%d8%a8%da%a9%d9%87\/%d8%a7%d8%b3%d8%aa%d9%81%d8%a7%d8%af%d9%87-%d8%a7%d8%b2-ipv6-%d8%af%d8%b1-apache-%d9%88-nginx\/","title":{"rendered":"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 IPv6 \u062f\u0631 Apache \u0648 Nginx"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u0686\u06a9\u06cc\u062f\u0647<\/h2>\n\n\n\n<p>\u0648\u0628\u200c\u0633\u0631\u0648\u0631\u0647\u0627 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0647\u0633\u062a\u0646\u062f \u0648 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 IPv6 \u062f\u0631 \u0622\u0646\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u0647 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u200c\u0647\u0627 \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a. \u062f\u0648 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f Apache \u0648 Nginx \u0647\u0631 \u062f\u0648 \u0627\u0632 IPv6 \u0628\u0647\u200c\u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0627\u0645\u0627 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0622\u0646\u200c\u0647\u0627 \u0646\u06cc\u0627\u0632\u0645\u0646\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 \u0686\u06af\u0648\u0646\u0647 IPv6 \u0631\u0627 \u062f\u0631 Apache \u0648 Nginx \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u0645\u060c \u0686\u0647 \u062a\u0641\u0627\u0648\u062a\u200c\u0647\u0627\u06cc\u06cc \u062f\u0631 Listen \u0648 Virtual Host \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u060c \u0648 \u0686\u0647 \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0628\u0627\u06cc\u062f \u0631\u0639\u0627\u06cc\u062a \u0634\u0648\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0645\u0631\u0627\u062d\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 IPv6 \u062f\u0631 Apache \u0648 Nginx<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u067e\u06cc\u0634\u200c\u0646\u06cc\u0627\u0632: \u0628\u0631\u0631\u0633\u06cc \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645\u200c \u0639\u0627\u0645\u0644 \u0627\u0632 IPv6<\/h3>\n\n\n\n<p>\u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u062f\u0631 Apache \u06cc\u0627 Nginx \u0628\u0627\u06cc\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 \u0634\u0645\u0627 IPv6 \u0631\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0622\u062f\u0631\u0633 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a. \u062c\u0647\u062a \u0628\u0631\u0631\u0633\u06cc \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644\u200c\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ip -6 addr show<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">ip<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #286983\">-<\/span><span style=\"color: #D7827E\">6<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">addr<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">show<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"879\" height=\"318\" src=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/ipv6-up.webp\" alt=\"\" class=\"wp-image-15741\" title=\"\" srcset=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/ipv6-up.webp 879w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/ipv6-up-300x109.webp 300w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/ipv6-up-768x278.webp 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/figure>\n\n\n\n<p>\u0627\u06af\u0631 \u062f\u0631 \u062e\u0631\u0648\u062c\u06cc \u06cc\u06a9 \u0622\u062f\u0631\u0633 \u0628\u0627 \u067e\u06cc\u0634\u0648\u0646\u062f <code>2001:<\/code> \u06cc\u0627 <code>2a00:<\/code> (\u0622\u062f\u0631\u0633 \u0639\u0645\u0648\u0645\u06cc) \u06cc\u0627 <code>fe80::<\/code> (Link-Local) \u062f\u06cc\u062f\u06cc\u062f\u060c \u06cc\u0639\u0646\u06cc IPv6 \u0631\u0648\u06cc \u0627\u06cc\u0646\u062a\u0631\u0641\u06cc\u0633 \u0634\u0645\u0627 \u0641\u0639\u0627\u0644 \u0627\u0633\u062a.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc IPv6 \u062f\u0631 Apache (HTTPD)<\/h2>\n\n\n\n<p>Apache \u0628\u0631\u0627\u06cc \u06af\u0648\u0634 \u062f\u0627\u062f\u0646 (listen) \u0631\u0648\u06cc IPv6 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc IPv4 \u0627\u0632 syntax \u0645\u062e\u0635\u0648\u0635 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u0645\u060c \u0628\u0647 \u062c\u0647\u062a \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc VirtualHost \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f (\u0645\u062b\u0644\u0627\u064b <code>\/etc\/httpd\/conf\/httpd.conf<\/code> \u06cc\u0627 <code>\/etc\/apache2\/sites-available\/000-default.conf<\/code>) \u0648 \u0628\u0631\u0627\u06cc \u06af\u0648\u0634 \u062f\u0627\u062f\u0646 (listen) \u0631\u0648\u06cc IPv6 \u0628\u0627\u06cc\u062f \u0622\u062f\u0631\u0633 \u0631\u0627 \u062f\u0631 \u0628\u0631\u0627\u06a9\u062a [] \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;VirtualHost &#91;2001:db8:***d:1::10&#93;:80>\n    ServerName example.com\n    DocumentRoot \/var\/www\/html\n&lt;\/VirtualHost>\n<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #9893A5\">&lt;<\/span><span style=\"color: #56949F\">VirtualHost<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #B4637A\">&#91;2001:db8:***d:1::10&#93;:80&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #907AA9; font-style: italic\">ServerName<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #B4637A\">example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #907AA9; font-style: italic\">DocumentRoot<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #B4637A\">\/var\/www\/html<\/span><\/span>\n<span class=\"line\"><span style=\"color: #B4637A\">&lt;\/VirtualHost&gt;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"989\" height=\"824\" src=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/apache-conf.webp\" alt=\"\" class=\"wp-image-15742\" title=\"\" srcset=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/apache-conf.webp 989w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/apache-conf-300x250.webp 300w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/apache-conf-768x640.webp 768w\" sizes=\"(max-width: 989px) 100vw, 989px\" \/><\/figure>\n\n\n\n<p>\u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0631\u0648\u06cc \u062a\u0645\u0627\u0645 \u0622\u062f\u0631\u0633\u200c\u0647\u0627\u06cc IPv6 \u06af\u0648\u0634 \u062f\u0647\u062f (Listen \u0634\u0648\u062f):<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Listen &#91;::&#93;:80\nListen &#91;::&#93;:443<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">Listen<\/span><span style=\"color: #575279\"> &#91;::&#93;:<\/span><span style=\"color: #D7827E\">80<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279; font-style: italic\">Listen<\/span><span style=\"color: #575279\"> &#91;::&#93;:<\/span><span style=\"color: #D7827E\">443<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<p>\u0648 \u0628\u0639\u062f \u0627\u0632 \u0627\u0639\u0645\u0627\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u060c \u0633\u0631\u0648\u06cc\u0633 Apache \u0631\u0627 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl restart apache2<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">systemctl<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">restart<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">apache2<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"989\" height=\"362\" src=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/restart-apache.webp\" alt=\"\" class=\"wp-image-15743\" title=\"\" srcset=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/restart-apache.webp 989w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/restart-apache-300x110.webp 300w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/restart-apache-768x281.webp 768w\" sizes=\"(max-width: 989px) 100vw, 989px\" \/><\/figure>\n\n\n\n<p>Apache \u062d\u0627\u0644\u0627 \u0622\u0645\u0627\u062f\u0647 \u067e\u0630\u06cc\u0631\u0634 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627\u06cc IPv6 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc IPv6 \u062f\u0631 Nginx<\/h2>\n\n\n\n<p>Nginx \u0627\u0632 \u0647\u0645\u0627\u0646 syntax \u0628\u0631\u0627\u06a9\u062a \u0628\u0631\u0627\u06cc IPv6 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0628\u062e\u0634 <code>listen<\/code> \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0628\u0647 \u062c\u0647\u062a \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc VirtualHost \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f (\u0645\u062b\u0644\u0627\u064b \/etc\/nginx\/sites-available\/default)<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen &#91;::&#93;:80;\n    listen &#91;::&#93;:443 ssl;\n    server_name example.com;\n    root \/var\/www\/html;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">server<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #797593\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #575279; font-style: italic\">listen<\/span><span style=\"color: #575279\"> &#91;::&#93;:<\/span><span style=\"color: #D7827E\">80<\/span><span style=\"color: #797593\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #575279; font-style: italic\">listen<\/span><span style=\"color: #575279\"> &#91;::&#93;:<\/span><span style=\"color: #D7827E\">443<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">ssl<\/span><span style=\"color: #797593\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #575279; font-style: italic\">server_name<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">example<\/span><span style=\"color: #286983\">.<\/span><span style=\"color: #575279; font-style: italic\">com<\/span><span style=\"color: #797593\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #575279\">    <\/span><span style=\"color: #575279; font-style: italic\">root<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #286983\">\/var<\/span><span style=\"color: #575279\">\/<\/span><span style=\"color: #575279; font-style: italic\">www<\/span><span style=\"color: #575279\">\/html<\/span><span style=\"color: #797593\">;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"818\" src=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/nginx-config-1024x818.webp\" alt=\"\" class=\"wp-image-15744\" title=\"\" srcset=\"https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/nginx-config-1024x818.webp 1024w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/nginx-config-300x240.webp 300w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/nginx-config-768x614.webp 768w, https:\/\/maralhost.com\/kb\/wp-content\/uploads\/2025\/09\/nginx-config.webp 1059w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644\u060c \u0633\u0631\u0648\u0631 \u0631\u0648\u06cc IPv4 \u0648 IPv6 \u0647\u0645\u0632\u0645\u0627\u0646 \u06af\u0648\u0634 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u062f. \u0633\u067e\u0633 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627 \u0628\u0627 \u0627\u062c\u0631\u0627\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl restart nginx<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">systemctl<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">restart<\/span><span style=\"color: #575279\"> <\/span><span style=\"color: #575279; font-style: italic\">nginx<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0628\u0631\u0627\u06cc IPv6 \u062f\u0631 \u0648\u0628\u200c\u0633\u0631\u0648\u0631\u0647\u0627<\/h2>\n\n\n\n<p>\u062f\u0642\u062a \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0634\u0645\u0627 (iptables \u06cc\u0627 ip6tables) \u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc \u06f8\u06f0 \u0648 \u06f4\u06f4\u06f3 \u0631\u0627 \u0628\u0631\u0627\u06cc IPv6 \u0628\u0627\u0632 \u06af\u0630\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u062f\u0631 Apache \u0648 Nginx\u060c \u0627\u06af\u0631 \u0646\u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u0631\u0648\u06cc \u0647\u0645\u0647 \u0627\u06cc\u0646\u062a\u0631\u0641\u06cc\u0633\u200c\u0647\u0627 \u06af\u0648\u0634 \u06a9\u0646\u0646\u062f\u060c \u0641\u0642\u0637 \u0622\u062f\u0631\u0633 IPv6 \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0631\u0627 \u062f\u0631 Listen \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0647\u0645\u06cc\u0634\u0647 SSL\/TLS \u0631\u0627 \u0628\u0631\u0627\u06cc IPv6 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f (\u062f\u0631\u0633\u062a \u0645\u062b\u0644 IPv4).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc DNS \u0648 \u0631\u06a9\u0648\u0631\u062f AAAA<\/h2>\n\n\n\n<p>\u0627\u06af\u0631 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0631\u0648\u06cc IPv6 \u0641\u0639\u0627\u0644 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0641\u0642\u0637 \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u0628\u0647 \u0622\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u062f\u0627\u0634\u062a \u06a9\u0647 DNS \u062f\u0627\u0645\u0646\u0647 \u0631\u06a9\u0648\u0631\u062f AAAA \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0633\u0627\u062e\u062a\u0627\u0631 \u0631\u06a9\u0648\u0631\u062f \u062f\u0631 \u0633\u0631\u0648\u06cc\u0633 BIND \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0645\u06cc\u200c\u0628\u0627\u0634\u062f:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#f4e8d9;color:#625c88\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#faf4ed;display:none;background-color:#575279\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"simpleString\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>www   IN   AAAA   2001:db8:***d:1::10<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki rose-pine-dawn\" style=\"background-color: #faf4ed\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #575279; font-style: italic\">www<\/span><span style=\"color: #575279\">   <\/span><span style=\"color: #575279; font-style: italic\">IN<\/span><span style=\"color: #575279\">   <\/span><span style=\"color: #575279; font-style: italic\">AAAA<\/span><span style=\"color: #575279\">   <\/span><span style=\"color: #D7827E\">2001<\/span><span style=\"color: #575279\">:<\/span><span style=\"color: #D7827E\">db8<\/span><span style=\"color: #797593\">:<\/span><span style=\"color: #286983\">***<\/span><span style=\"color: #D7827E\">d<\/span><span style=\"color: #797593\">:<\/span><span style=\"color: #D7827E\">1<\/span><span style=\"color: #575279\">::<\/span><span style=\"color: #D7827E\">10<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#faf4ed;color:#625c88;font-size:12px;line-height:1;position:relative\">JavaScript<\/span><\/div>\n\n\n\n<p>\u062f\u0631 \u0646\u0638\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0628\u062f\u0648\u0646 \u0631\u06a9\u0648\u0631\u062f AAAA\u060c \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0647\u0645\u0686\u0646\u0627\u0646 \u0627\u0632 IPv4 \u0628\u0647 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u0634\u0645\u0627 \u0645\u062a\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u062c\u0645\u0639\u200c\u0628\u0646\u062f\u06cc<\/h2>\n\n\n\n<p>\u0641\u0639\u0627\u0644\u200c \u0633\u0627\u0632\u06cc IPv6 \u062f\u0631 \u0648\u0628\u200c \u0633\u0631\u0648\u0631\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 Apache \u0648 Nginx \u0633\u0627\u062f\u0647 \u0627\u0633\u062a \u0627\u0645\u0627 \u0627\u0647\u0645\u06cc\u062a \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0631\u062f. \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0622\u062f\u0631\u0633 IPv6 \u062f\u0627\u0631\u062f\u060c \u0633\u067e\u0633 \u062f\u0631 \u0628\u062e\u0634 Listen \u0627\u0632 \u0628\u0631\u0627\u06a9\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 VirtualHost \u06cc\u0627 Server Block \u0631\u0627 \u0631\u0648\u06cc IPv6 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f. \u0628\u0639\u062f \u0627\u0632 \u062a\u0633\u062a \u0648 \u0628\u0627\u0632 \u06af\u0630\u0627\u0634\u062a\u0646 \u067e\u0648\u0631\u062a\u200c\u0647\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0631\u0648\u0627\u0644\u060c \u0633\u0627\u06cc\u062a \u0634\u0645\u0627 \u0622\u0645\u0627\u062f\u0647 \u0627\u0633\u062a \u062a\u0627 \u0628\u0647\u200c \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 IPv6 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u06a9\u0646\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0686\u06a9\u06cc\u062f\u0647 \u0648\u0628\u200c\u0633\u0631\u0648\u0631\u0647\u0627 \u0628\u062e\u0634 \u0627\u0635\u0644\u06cc \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0647\u0633\u062a\u0646\u062f \u0648 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 IPv6 \u062f\u0631 \u0622\u0646\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u0633\u062a\u0642\u06cc\u0645 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0628\u0647 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a\u200c\u0647\u0627 \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a. \u062f\u0648 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f Apache \u0648 Nginx \u0647\u0631 \u062f\u0648 \u0627\u0632 IPv6 \u0628\u0647\u200c\u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0627\u0645\u0627 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u0622\u0646\u200c\u0647\u0627 \u0646\u06cc\u0627\u0632\u0645\u0646\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u062f\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u0645 \u0686\u06af\u0648\u0646\u0647 IPv6 \u0631\u0627 \u062f\u0631 Apache \u0648 Nginx \u0641\u0639\u0627\u0644 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":15427,"menu_order":12,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-15731","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"author_avatar":"https:\/\/maralhost.com\/kb\/wp-content\/litespeed\/avatar\/743ec22e81bd15822ffe8253afdb698c.jpg?ver=1778437580","author_name":"admin","_links":{"self":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/15731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/comments?post=15731"}],"version-history":[{"count":2,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/15731\/revisions"}],"predecessor-version":[{"id":15745,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/15731\/revisions\/15745"}],"up":[{"embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/docs\/15427"}],"wp:attachment":[{"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/media?parent=15731"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/maralhost.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=15731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}