{"id":96220,"date":"2020-10-09T13:42:07","date_gmt":"2020-10-09T11:42:07","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-20-0"},"modified":"2020-10-09T13:42:07","modified_gmt":"2020-10-09T11:42:07","slug":"vypusk-servera-prilozhenij-nginx-unit-1-20-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-20-0","title":{"rendered":"Vyd\u00e1n\u00ed aplika\u010dn\u00edho serveru NGINX Unit 1.20.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/mailman.nginx.org\/pipermail\/unit\/2020-October\/000217.html\">Prob\u011bhlo<\/a><\/noindex> vyd\u00e1n\u00ed aplika\u010dn\u00edho serveru <noindex><a rel=\"nofollow\" href=\"http:\/\/unit.nginx.org\/\">NGINX Unit 1.20<\/a><\/noindex>, v r\u00e1mci kter\u00e9ho se vyv\u00edj\u00ed \u0159e\u0161en\u00ed pro spu\u0161t\u011bn\u00ed webov\u00fdch aplikac\u00ed v r\u016fzn\u00fdch programovac\u00edch jazyc\u00edch (Python, PHP, Perl, Ruby, Go, JavaScript\/Node.js a Java). Pod spr\u00e1vcem NGINX Unit m\u016f\u017ee b\u00fdt sou\u010dasn\u011b provozov\u00e1no n\u011bkolik aplikac\u00ed v r\u016fzn\u00fdch programovac\u00edch jazyc\u00edch, jejich\u017e spou\u0161t\u011bc\u00ed parametry lze dynamicky m\u011bnit bez nutnosti \u00faprav konfigura\u010dn\u00edch soubor\u016f a restartov\u00e1n\u00ed. K\u00f3d je naps\u00e1n v jazyce C a <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/nginx\/unit\">distribuov\u00e1no<\/a><\/noindex> pod licenc\u00ed Apache 2.0. S vlastnostmi NGINX Unit se m\u016f\u017eete sezn\u00e1mit v <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48434\">ozn\u00e1men\u00ed<\/a><\/noindex> prvn\u00edho vyd\u00e1n\u00ed. <\/p>\n<p>Nov\u00e1 verze pro jazyk Python implementovala podporu rozhran\u00ed API <noindex><a rel=\"nofollow\" href=\"https:\/\/asgi.readthedocs.io\/\">ASGI<\/a><\/noindex> (Asynchronous Server Gateway Interface), kter\u00fd byl vyvinut jako n\u00e1hrada WSGI a m\u00ed\u0159\u00ed na zaji\u0161t\u011bn\u00ed interakce server\u016f, r\u00e1mc\u016f a aplikac\u00ed podporuj\u00edc\u00edch asynchronn\u00ed re\u017eim.<br \/>\nNGINX Unit automaticky ur\u010duje pou\u017eit\u00fd rozhran\u00ed v Python aplikaci (ASGI nebo WSGI). Konfigurace ASGI je podobn\u00e1 d\u0159\u00edve navrhovan\u00fdm nastaven\u00edm pro WSGI.<\/p>\n<p>Dal\u0161\u00ed zm\u011bny:<\/p>\n<ul>\n<li class=\"l\"> Do modulu Python byl p\u0159id\u00e1n integrovan\u00fd server WebSocket, kter\u00fd lze pou\u017e\u00edt v aplikac\u00edch kompatibiln\u00edch se specifikac\u00ed ASGI Message Format 2.1.\n<li class=\"l\"> Inicializace modulu PHP se nyn\u00ed prov\u00e1d\u00ed p\u0159ed jeho um\u00edst\u011bn\u00edm do chroot, co\u017e umo\u017e\u0148uje na\u010d\u00edt\u00e1n\u00ed v\u0161ech dostupn\u00fdch roz\u0161\u00ed\u0159en\u00ed v syst\u00e9mu.\n<li class=\"l\"> Do seznamu podporovan\u00fdch MIME typ\u016f byly p\u0159id\u00e1ny obr\u00e1zky AVIF a APNG.\n<li class=\"l\"> Testovac\u00ed sada byla p\u0159evedena na pou\u017e\u00edv\u00e1n\u00ed pytest.\n<li class=\"l\"> Zaji\u0161t\u011bno automatick\u00e9 p\u0159ipojen\u00ed izolovan\u00e9ho FS \/tmp v chroot prost\u0159ed\u00edch.\n<li class=\"l\"> P\u0159es prom\u011bnnou $host je poskytov\u00e1n p\u0159\u00edstup k normalizovan\u00e9 hodnot\u011b hlavi\u010dky \u201eHost\u201c z po\u017eadavku.\n<li class=\"l\"> Byla p\u0159id\u00e1na mo\u017enost \u201ecallable\u201c pro nastaven\u00ed volateln\u00fdch n\u00e1zv\u016f Python aplikac\u00ed.\n<li class=\"l\"> Zaji\u0161t\u011bna kompatibilita s PHP 8 RC 1.\n<li class=\"l\"> Do objektu \u201eisolation\u201c byla p\u0159id\u00e1na mo\u017enost \u201eautomount\u201c pro vypnut\u00ed automatick\u00e9ho p\u0159ipojov\u00e1n\u00ed z\u00e1vislost\u00ed pro moduly jazykov\u00e9 podpory.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53859\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX Unit 1.20, \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (Python, PHP, Perl, Ruby, Go, JavaScript\/Node.js \u0438 Java). \u041f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c NGINX Unit \u043c\u043e\u0436\u0435\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u041a\u043e\u0434 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-96220","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-20-0\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX Unit 1.20.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-20-0\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-09T11:42:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-09T11:42:07+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Vyd\u00e1n\u00ed serveru aplikac\u00ed NGINX Unit 1.20.0 | ProHoster","description":"Do\u0161lo k vyd\u00e1n\u00ed serveru aplikac\u00ed NGINX.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-20-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX Unit 1.20.0 | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 NGINX.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-20-0","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-10-09T11:42:07+00:00","article:modified_time":"2020-10-09T11:42:07+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"96220","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:48:22","updated":"2022-10-05 21:15:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/96220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=96220"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/96220\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=96220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=96220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=96220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}