{"id":366610,"date":"2024-05-21T03:03:45","date_gmt":"2024-05-21T03:03:45","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=366610"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T03:03:45","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=366610","title":{"rendered":"<span>\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u0423\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u043f\u043e\u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421 (HTTPS \u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\u041d\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u043c \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0435 \u00ab\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421\u00bb \u043c\u044b \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e HTTPS \u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u042d\u0442\u043e \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u0412\u043e\u0442 \u0438 \u043e\u043d\u043e (\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435) \u0438\u043b\u0438 \u043e\u043d\u0438 (\u0448\u0442\u0440\u0438\u0445\u0438), \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442\u2026<\/p>\n<p>  <a href=\"https:\/\/habr.com\/ru\/post\/789744\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\"\/><\/div>\n<p><\/a><a name=\"habracut\"><\/a>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u043a\u0442\u043e \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440, \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c.<\/b>                         <\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/www.youtube.com\/embed\/Xu58-MH_icg\" rel=\"nofollow noopener noreferrer\">\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421<\/a>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 50+- \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e 1+-, \u0431\u0435\u0437 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439.<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0435\u0441\u043b\u0438 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0430 \u0431\u044b\u043b \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 Basic, \u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0443\u0440\u043e\u0432\u0435\u043d\u044c Pre-Intermediate.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0443\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043c\u0435\u043d\u0438.<br \/>  \u041d\u043e \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0435, \u0435\u0441\u043b\u0438 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u0438 \u0437\u0430 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0422\u0435, \u043a\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043b\u044e\u0431\u0438\u0442 \u0432\u0438\u0434\u0435\u043e, \u043c\u043e\u0433\u0443\u0442 \u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0435\u0433\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438 \u0442\u043e, \u0438 \u0434\u0440\u0443\u0433\u043e\u0435.<\/b>                         <\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/www.youtube.com\/embed\/BWL965sTZvM\" rel=\"nofollow noopener noreferrer\">\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u0423\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u043f\u043e\u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0420\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421<\/a>  <\/div>\n<\/p><\/div>\n<p>  <strong>\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435:<\/strong>  <\/p>\n<ul>\n<li>\u0412\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e\u043c\u0443 \u0432 \u043e\u0431\u043b\u0430\u043a\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u043c\u0443 \u043c\u0435\u0441\u0442\u0443 \u043f\u043e \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443.\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\"\/><\/a><\/li>\n<li>\u0423 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0430\u0440\u0445\u0438\u0432\u044b \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u042f\u043d\u0434\u0435\u043a\u0441 \u0414\u0438\u0441\u043a\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\"\/><\/a><\/li>\n<\/ul>\n<h4>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c<\/h4>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c (\u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u043b\u0438 \u0432\u0441\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0430 \u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 1\u0421 \u0441 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0431\u0430\u0437\u043e\u0439) \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u044f \u0434\u043e\u043c\u0435\u043d\u0430 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u00a0Let&#8217;s Encrypt.<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b \u0432\u044b\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0443\u0442\u044c, \u0441 \u043f\u043e\u043a\u0443\u043f\u043a\u043e\u0439 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u0438 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430, \u0442\u043e\u0433\u0434\u0430 \u043d\u0430\u0448\u0438 \u043f\u0443\u0442\u0438 \u0447\u0443\u0442\u044c \u0440\u0430\u0437\u043e\u0439\u0434\u0443\u0442\u0441\u044f \u0438 \u0432\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0435\u0433\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e\u00a0Let&#8217;s Encrypt \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043d\u0430 90 \u0434\u043d\u0435\u0439 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u043b\u0438\u043d\u043d\u043e\u0441\u0442\u0438 \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u044f \u0434\u043e\u043c\u0435\u043d\u043e\u043c. \u042d\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438.<\/p>\n<p>  \u0414\u043e\u043c\u0435\u043d\u043d\u043e\u0435 \u0438\u043c\u044f \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0442\u0430\u043a \u0436\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0435\u00a0<a href=\"https:\/\/www.duckdns.org\" rel=\"nofollow noopener noreferrer\">duckdns<\/a>, \u043e\u043d \u0445\u043e\u0440\u043e\u0448 \u0435\u0449\u0435 \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 github \u0438 \u0438\u043c\u0435\u0435\u0442 API \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0438\u0441\u044f\u043c\u0438 TXT DNS, \u0430 \u044d\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u043b\u0430\u0434\u0435\u043d\u0438\u044f \u0434\u043e\u043c\u0435\u043d\u043e\u043c \u0434\u043b\u044f\u00a0Let&#8217;s Encrypt \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d.<\/p>\n<p>  \u0415\u0441\u0442\u044c \u0435\u0449\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0441 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043e\u043d \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439, \u0435\u0441\u043b\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u044b \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0435\u0442\u0438.<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/9n\/zy\/wl\/9nzywlugc8-5a-lr3z4-duinwo8.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/9n\/zy\/wl\/9nzywlugc8-5a-lr3z4-duinwo8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/9n\/zy\/wl\/9nzywlugc8-5a-lr3z4-duinwo8.png\"\/><\/a><\/p>\n<p>  \u042d\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u044b \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u043a\u0443\u0440\u0441\u0438\u0432\u043e\u043c.<\/p>\n<h4>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442<\/h4>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 snap \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c certbot \u0438 \u043f\u043b\u0430\u0433\u0438\u043d certbot-dns-duckdns.<\/p>\n<p>  <em>yum install snapd -y<br \/>  systemctl enable &#8212;now snapd.socket<br \/>  ln -s \/var\/lib\/snapd\/snap \/snap<\/em>  <\/p>\n<p><em>ln -s \/snap\/bin\/certbot \/usr\/bin\/certbot<br \/>  snap install certbot &#8212;classic<\/em><\/p>\n<p>  <\/p>\n<p><em>snap install certbot-dns-duckdns<br \/>  snap set certbot trust-plugin-with-root=ok<br \/>  snap connect certbot:plugin certbot-dns-duckdns<br \/>  certbot plugins<\/em><\/p>\n<p>  <em><a href=\"https:\/\/habrastorage.org\/webt\/qk\/lu\/kr\/qklukrhh0569b4la8o63ko5ggf8.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/qk\/lu\/kr\/qklukrhh0569b4la8o63ko5ggf8.png\" data-src=\"https:\/\/habrastorage.org\/webt\/qk\/lu\/kr\/qklukrhh0569b4la8o63ko5ggf8.png\"\/><\/a><\/em><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442, \u0435\u0435 \u043a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043c\u044b\u0441\u043b: \u043f\u043b\u0430\u0433\u0438\u043d \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c TXT \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443\u00a0Let&#8217;s Encrypt.<\/p>\n<p>  <em>certbot certonly &#8212;non-interactive &#8212;agree-tos &#8212;email serverspace.1c@yandex.ru \u00a0&#8212;preferred-challenges dns \u00a0&#8212;authenticator dns-duckdns \u00a0&#8212;dns-duckdns-token &#171;3297727f-e3cb-4e15-8ad4-a954311f957a&#187; &#8212;dns-duckdns-propagation-seconds 30 \u00a0-d &#171;serverspace1c.duckdns.org, *.serverspace1c.duckdns.org&#187;<\/em><\/p>\n<p>  \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b.<\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u00a0TXT \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c\u00a0<a href=\"https:\/\/www.digwebinterface.com\/?hostnames=serverspace1c.duckdns.org&amp;amp;type=TXT&amp;amp;ns=resolver&amp;amp;useresolver=8.8.4.4\" rel=\"nofollow noopener noreferrer\">www.digwebinterface.com<\/a><\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/vl\/h0\/qz\/vlh0qzkki6khr9zn87hy5mgobes.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/vl\/h0\/qz\/vlh0qzkki6khr9zn87hy5mgobes.png\" data-src=\"https:\/\/habrastorage.org\/webt\/vl\/h0\/qz\/vlh0qzkki6khr9zn87hy5mgobes.png\"\/><\/a><\/p>\n<p>  \u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c TXT \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043a API \u0432\u0438\u0434\u0430\u00a0<\/p>\n<p>  <a href=\"https:\/\/www.duckdns.org\/update?domains=serverspace1c.duckdns.org&amp;token=3297727f-e3cb-4e15-8ad4-a954311f957a&amp;txt=txt&amp;verbose=true&amp;clear=true\" rel=\"nofollow noopener noreferrer\">www.duckdns.org\/update?domains=serverspace1c.duckdns.org&amp;token=3297727f-e3cb-4e15-8ad4-a954311f957a&amp;txt=txt&amp;verbose=true&amp;clear=true<\/a><\/p>\n<p>  \u0433\u0434\u0435 \u0442\u043e\u043a\u0435\u043d, \u044d\u0442\u043e \u0432\u0430\u0448 \u0442\u043e\u043a\u0435\u043d \u0438 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435\u00a0&amp;clear=true<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442.<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/tx\/6h\/9q\/tx6h9qckx-fbhrlrd8dsv0-ixya.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/tx\/6h\/9q\/tx6h9qckx-fbhrlrd8dsv0-ixya.png\" data-src=\"https:\/\/habrastorage.org\/webt\/tx\/6h\/9q\/tx6h9qckx-fbhrlrd8dsv0-ixya.png\"\/><\/a><\/p>\n<h4>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u00a0nginx<\/h4>\n<p>  <em>dnf install nginx -y<br \/>  systemctl enable nginx &#8212;now<\/em><\/p>\n<p>  \u0418 \u043f\u0440\u0430\u0432\u0438\u043c \u0435\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e.<\/p>\n<p>  \u0417\u0430\u043c\u0430\u043d\u0447\u0438\u0432\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00a0\/etc\/nginx\/nginx.conf\u00a0 \u0442.\u043a. \u0432 \u043d\u0435\u043c \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u043e \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f HTTPS,\u00a0\u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u043a\u043e\u043c\u0438\u043b\u044c\u0444\u043e.<\/p>\n<p>  \u0413\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u00a0\/etc\/nginx\/conf.d \u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0435\u0435, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443\u00a0HTTPS \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043f\u0443\u0442\u0438 \u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0443 \u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043d\u0430 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 1\u0421.<\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u043c \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u0444\u0430\u0439\u043b\u0430\u00a0443.conf, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e, \u043b\u044e\u0431\u043e\u0439 \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c\u00a0.conf \u0431\u0443\u0434\u0435\u0442 \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435\u00a0nginx<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/5i\/jb\/ti\/5ijbtiszrliz56zsm4jurnxv_g0.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/5i\/jb\/ti\/5ijbtiszrliz56zsm4jurnxv_g0.png\" data-src=\"https:\/\/habrastorage.org\/webt\/5i\/jb\/ti\/5ijbtiszrliz56zsm4jurnxv_g0.png\"\/><\/a><\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">Settings for a TLS enabled server<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p># Settings for a TLS enabled server.<\/p>\n<p>\u00a0 \u00a0 server {<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 listen \u00a0 \u00a0 \u00a0 443 ssl;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 listen \u00a0 \u00a0 \u00a0 [::]:443 ssl;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 server_name \u00a0serverspace1c.duckdns.org;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 root \u00a0 \u00a0 \u00a0 \u00a0 \/usr\/share\/nginx\/html;<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 ssl_certificate \/etc\/letsencrypt\/live\/serverspace1c.duckdns.org\/fullchain.pem;\u00a0<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 ssl_certificate_key \/etc\/letsencrypt\/live\/serverspace1c.duckdns.org\/privkey.pem;\u00a0<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 ssl_session_cache shared:SSL:1m;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 ssl_session_timeout \u00a010m;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 ssl_ciphers HIGH:!aNULL:!MD5;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 ssl_prefer_server_ciphers on;<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 # Load configuration files for the default server block.<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 # include \/etc\/nginx\/default.d\/*.conf;<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 error_page 404 \/404.html;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 location = \/404.html {<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 }<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 error_page 500 502 503 504 \/50x.html;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 location = \/50x.html {<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 }<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 location \/edo_demo {<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 proxy_pass <a href=\"http:\/\/localhost\" rel=\"nofollow noopener noreferrer\">localhost<\/a>:8314\/edo_demo;<br \/>  \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0\u00a0<br \/>  }<\/p>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0416\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c\u00a0nginx \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<p>  <em>nginx -t<br \/>  systemctl restart nginx<br \/>  systemctl status nginx &#8212;no-pager<\/em><\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e \u0432\u0441\u0435. \u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u00a0HTTPS \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430. \u041d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e SeLinux \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0432\u0435\u0440\u043d\u043e\u0441\u0442\u0438<\/p>\n<p>  <em>setsebool -P httpd_can_network_connect 1<\/em><\/p>\n<p>  <em><a href=\"https:\/\/habrastorage.org\/webt\/fg\/xs\/d1\/fgxsd1h0efstyclvbh_hwcarkum.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fg\/xs\/d1\/fgxsd1h0efstyclvbh_hwcarkum.png\" data-src=\"https:\/\/habrastorage.org\/webt\/fg\/xs\/d1\/fgxsd1h0efstyclvbh_hwcarkum.png\"\/><\/a><\/em><\/p>\n<p>  <strong>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u00a0\u042f\u043d\u0434\u0435\u043a\u0441 \u0414\u0438\u0441\u043a <a href=\"https:\/\/yandex.ru\/support\/disk-desktop-linux\/cli-commands.html\" rel=\"nofollow noopener noreferrer\">\u043f\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430<\/a><\/strong><\/p>\n<p>  <em>wget -dv <a href=\"http:\/\/repo.yandex.ru\/yandex-disk\/yandex-disk-latest.x86_64.rpm\" rel=\"nofollow noopener noreferrer\">repo.yandex.ru\/yandex-disk\/yandex-disk-latest.x86_64.rpm<\/a><br \/>  rpm -ivh yandex-disk-latest.x86_64.rpm<br \/>  yandex-disk setup<\/em><\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/am\/5w\/cp\/am5wcpv_sv-bwehsju4actwjk9k.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/am\/5w\/cp\/am5wcpv_sv-bwehsju4actwjk9k.png\" data-src=\"https:\/\/habrastorage.org\/webt\/am\/5w\/cp\/am5wcpv_sv-bwehsju4actwjk9k.png\"\/><\/a><\/p>\n<p>  \u0416\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0449\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432 \u043d\u0435\u0433\u043e exclude-dirs=&lt;\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c>.<\/p>\n<p>  <em>yandex-disk start<br \/>  yandex-disk status<br \/>  yandex-disk stop<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/fh\/0k\/ca\/fh0kcay_iicrds1zxnobd_yqc2i.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fh\/0k\/ca\/fh0kcay_iicrds1zxnobd_yqc2i.png\" data-src=\"https:\/\/habrastorage.org\/webt\/fh\/0k\/ca\/fh0kcay_iicrds1zxnobd_yqc2i.png\"\/><\/a><\/em><\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0435\u043c\u043e\u043d \u042f\u043d\u0434\u0435\u043a\u0441 \u0414\u0438\u0441\u043a\u0430, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043b \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043e\u0431\u043c\u0435\u043d\u0430 \u0438 \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b \u0440\u0435\u0441\u0443\u0440\u0441\u044b, \u0442.\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0432 \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 (\u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u043b\u0443\u0448\u0430\u0442\u044c\u0441\u044f, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043a\u0430\u043a \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0439 \u0430\u0434\u043c\u0438\u043d \u0437\u0430\u0441\u0442\u0440\u0435\u043b\u0438\u043b\u0441\u044f \u0443\u0432\u0438\u0434\u0435\u0432 \u0438\u0445, \u0437\u0430\u0442\u043e \u043e\u043d\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435).<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442\u044b<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<p>backup.sh<\/p>\n<p>#!\/bin\/bash<br \/>  declare -r DIRNAME=${BASH_SOURCE[0]}<br \/>  if [ $# -lt 2 ]\u00a0<br \/>  \u00a0 then<br \/>  \u00a0 \u00a0 echo &#171;No arguments supplied&#187;<br \/>  else<br \/>  \u00a0 tar cfz $1\/$2_backup_$(date +%Y_%m_%d_%H_%M_%S).tar.gz ${DIRNAME%\/*\/*}\/bases\/$2\/* &#8212;ignore-failed-read > \/dev\/null 2>&amp;1<br \/>  fi \u00a0<\/p>\n<p>yandex-disk.sh<\/p>\n<p>#!\/bin\/bash<br \/>  yandex-disk sync -c \/root\/.config\/yandex-disk\/config.cfg > \/dev\/null 2>&amp;1<\/p>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0447\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n<p>  <em>mkdir -p \/1c\/scripts<br \/>  chmod -R +777 \/1c<br \/>  chmod +x \/1c\/scripts\/*.sh<\/em><\/p>\n<p>  <em>\/1c\/scripts\/backup.sh \/root\/Yandex.Disk\/backups\/ edo_demo<br \/>  yandex-disk sync<\/em><\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/ln\/nh\/l9\/lnnhl9opd9uuxvjjckxpzv4xfmg.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ln\/nh\/l9\/lnnhl9opd9uuxvjjckxpzv4xfmg.png\" data-src=\"https:\/\/habrastorage.org\/webt\/ln\/nh\/l9\/lnnhl9opd9uuxvjjckxpzv4xfmg.png\"\/><\/a><\/p>\n<p>  \u0417\u0430\u043d\u043e\u0441\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 cron \u043d\u0435 \u0437\u0430\u0431\u044b\u0432 \u043f\u0435\u0440\u0435\u0434 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u044f\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e<\/p>\n<p>  <em>timedatectl<br \/>  timedatectl list-timezones<br \/>  timedatectl set-timezone Europe\/Moscow<\/em><\/p>\n<p>  <em>mcedit \/etc\/crontab<br \/>  30 20 * * * root \/1c\/scripts\/backup.sh \/root\/Yandex.Disk\/backups\/ edo_demo<br \/>  35 20 * * * root \/1c\/scripts\/yandex-disk.sh<br \/>  43 6 2 *\/2 * certbot renew &#8212;post-hook &#171;systemctl reload nginx&#187;<\/em><\/p>\n<p>  <em>systemctl restart crond.service<br \/>  systemctl status crond.service &#8212;no-pager<\/em><\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435 \u0446\u0435\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u044b.<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\"\/><\/a><\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/eb\/nw\/8r\/ebnw8r1a0osylxqvb_nzhwwpogo.png\"\/><\/a><\/p>\n<p>  \u0421\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u0441\u0435\u0440\u0438\u044e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439:  <\/p>\n<ul>\n<li><a href=\"https:\/\/infostart.ru\/edu\/1970196\/\" rel=\"nofollow noopener noreferrer\">\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0432\u0435\u0431\u0438\u043d\u0430\u0440 &#171;\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421&#187;<\/a><\/li>\n<li><a href=\"https:\/\/habr.com\/ru\/articles\/782664\/\">\u0422\u0440\u0438 \u043f\u0438\u043d\u0433\u0432\u0438\u043d\u0430 \u043f\u043e\u0434 \u043e\u043a\u043d\u043e\u043c\u2026 \u041e\u0431\u0437\u043e\u0440 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043c\u0435\u0441\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445 linux<\/a><\/li>\n<li><a href=\"https:\/\/habr.com\/ru\/articles\/766824\/\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 1\u0421: \u0421\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. \u0417\u0430\u043c\u0435\u0442\u043a\u0438 \u043d\u0430 \u043f\u043e\u043b\u044f\u0445<\/a><\/li>\n<\/ul>\n<p>  \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044e\u00a0\u00a9<a href=\"https:\/\/serverspace.ru\/\" rel=\"nofollow noopener noreferrer\">Serverspace<\/a> \u0437\u0430 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<p>  \u0418\u0437 \u043f\u043b\u0430\u043d\u043e\u0432 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440:  <\/p>\n<ul>\n<li>\u041c\u0435\u0442\u043e\u0434\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e\u00a0\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b 1\u0421<\/li>\n<li>\u0421\u043e\u0431\u0440\u0430\u0442\u044c\u00a0\u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0438 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u043c\u0435\u043d\u043d\u0443\u044e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e<\/li>\n<\/ul>\n<p>  \u0413\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/789744\/\"> https:\/\/habr.com\/ru\/articles\/789744\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\u041d\u0430 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u043c \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u0435 \u00ab\u0412 \u043e\u0431\u043b\u0430\u043a\u0435, \u043a\u0430\u043a \u0434\u043e\u043c\u0430: \u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 1\u0421 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0420\u0415\u0414 \u041e\u0421\u00bb \u043c\u044b \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e HTTPS \u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u042d\u0442\u043e \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u0412\u043e\u0442 \u0438 \u043e\u043d\u043e (\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435) \u0438\u043b\u0438 \u043e\u043d\u0438 (\u0448\u0442\u0440\u0438\u0445\u0438), \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442\u2026<\/p>\n<p>  <a href=\"https:\/\/habr.com\/ru\/post\/789744\/\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\" data-src=\"https:\/\/habrastorage.org\/webt\/yl\/zr\/ax\/ylzrax6yl-asfb9wlvpfnj7bxxo.png\"\/><\/div>\n<p><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-366610","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/366610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=366610"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/366610\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=366610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=366610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=366610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}