{"id":83439,"date":"2020-05-31T13:42:03","date_gmt":"2020-05-31T11:42:03","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-18-0"},"modified":"2020-05-31T13:42:03","modified_gmt":"2020-05-31T11:42:03","slug":"vypusk-servera-prilozhenij-nginx-unit-1-18-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-18-0","title":{"rendered":"Utgivning av applikationsservern NGINX Unit 1.18.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/mailman.nginx.org\/pipermail\/unit\/2020-May\/000201.html\">H\u00e4ndelse genomf\u00f6rd<\/a><\/noindex> utgivningen av applikationsservern <noindex><a rel=\"nofollow\" href=\"http:\/\/unit.nginx.org\/\">NGINX Unit 1.18<\/a><\/noindex>, som utvecklar l\u00f6sningen f\u00f6r att k\u00f6ra webbapplikationer p\u00e5 olika programmeringsspr\u00e5k (Python, PHP, Perl, Ruby, Go, JavaScript\/Node.js och Java). Under NGINX Unit kan flera applikationer p\u00e5 olika programmeringsspr\u00e5k k\u00f6ras samtidigt, med konfigurationsparametrar som kan \u00e4ndras dynamiskt utan att beh\u00f6va \u00e4ndra konfigurationsfiler och starta om. Koden \u00e4r skriven i C och <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/nginx\/unit\">sprids<\/a><\/noindex> distribueras under Apache 2.0-licensen. Du kan bekanta dig med funktionerna i NGINX Unit i <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48434\">annonsen<\/a><\/noindex> f\u00f6r den f\u00f6rsta utg\u00e5van. <\/p>\n<p>I den nya versionen:<\/p>\n<ul>\n<li class=\"l\"> Isoleringsl\u00e4ge implementerat &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#process-isolation\">rootfs<\/a><\/noindex>&#187; f\u00f6r att begr\u00e4nsa applikationens \u00e5tkomst endast till en viss del av filsystemet. F\u00f6r att \u00e4ndra den synliga rotens FS f\u00f6r applikationen anv\u00e4nds anropet pivot_root(), som till skillnad fr\u00e5n det os\u00e4kra systemanropet chroot() inte bara flyttar rotens FS, utan anv\u00e4nder isolering p\u00e5 namnrymdeniv\u00e5, liknande den som anv\u00e4nds i containrar. Dessutom monterar Unit automatiskt alla spr\u00e5kspecifika beroenden i det isolerade filsystemet (g\u00e4ller endast ett begr\u00e4nsat antal spr\u00e5k) ut\u00f6ver den angivna katalogen f\u00f6r applikationen.\n<p>   {<br \/>\n       &#171;typ&#187;: &#171;python 2.7&#187;,<br \/>\n       &#171;s\u00f6kv\u00e4g&#187;: &#171;\\\/&#187;,<br \/>\n       &#171;hem&#187;: &#171;\\\/venv\\\/&#187;,<br \/>\n       &#171;modul&#187;: &#171;wsgi&#187;,<br \/>\n       &#171;isolering&#187;: {<br \/>\n           &#171;rootfs&#187;: &#171;\\\/var\\\/app\\\/sandbox\\\/&#187;<br \/>\n       }<br \/>\n   }<\/p>\n<li class=\"l\"> M\u00f6jlighet att ange flera anropningsscheman i konfigurationen med hj\u00e4lp av den nya sektionen &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#targets\">targets<\/a><\/noindex>&#171;. Den angivna m\u00f6jligheten f\u00f6renklar konfigurationen av blandade adresseringsscheman, d\u00e4r till exempel en stor del av f\u00f6rfr\u00e5gningarna bearbetas via index.php oavsett beg\u00e4rt URI, medan administrativa gr\u00e4nssnitt direkt leder till anrop av skript. Tidigare kr\u00e4vdes s\u00e5dana inst\u00e4llningar genom att definiera tv\u00e5 applikationer, men nu kan man klara sig med en. Till exempel ist\u00e4llet f\u00f6r:\n<p> {<br \/>\n      &#171;wp_index&#187;: {<br \/>\n          &#171;typ&#187;: &#171;php&#187;,<br \/>\n          &#171;anv\u00e4ndare&#187;: &#171;wp_user&#187;,<br \/>\n          &#171;grupp&#187;: &#171;wp_user&#187;,<br \/>\n          &#171;root&#187;: &#171;\\\/path\\\/to\\\/wordpress\\\/&#187;,<br \/>\n          &#171;skript&#187;: &#171;index.php&#187;<br \/>\n      },<\/p>\n<p>      &#171;wp_direct&#187;: {<br \/>\n          &#171;typ&#187;: &#171;php&#187;,<br \/>\n          &#171;anv\u00e4ndare&#187;: &#171;wp_user&#187;,<br \/>\n          &#171;grupp&#187;: &#171;wp_user&#187;,<br \/>\n          &#171;root&#187;: &#171;\\\/path\\\/to\\\/wordpress\\\/&#187;<br \/>\n      }<br \/>\n  }<\/p>\n<p>kan anges<\/p>\n<p>  {<br \/>\n      &#171;wp&#187;: {<br \/>\n          &#171;typ&#187;: &#171;php&#187;,<br \/>\n          &#171;anv\u00e4ndare&#187;: &#171;wp_user&#187;,<br \/>\n          &#171;grupp&#187;: &#171;wp_user&#187;,<\/p>\n<p>          &#171;targets&#187;: {<br \/>\n              &#171;index&#187;: {<br \/>\n                  &#171;root&#187;: &#171;\\\/path\\\/to\\\/wordpress\\\/&#187;,<br \/>\n                  &#171;skript&#187;: &#171;index.php&#187;<br \/>\n              },<\/p>\n<p>              &#171;direct&#187;: {<br \/>\n                  &#171;root&#187;: &#171;\\\/path\\\/to\\\/wordpress\\\/&#187;<br \/>\n              }<br \/>\n          }<br \/>\n      }<br \/>\n  }<\/p>\n<li class=\"l\"> St\u00f6d f\u00f6r <noindex><a rel=\"nofollow\" href=\"https:\/\/tools.ietf.org\/html\/rfc3986#section-2.1\">kodning<\/a><\/noindex> tecken i formen &#171;%xx&#187; i alternativen f\u00f6r matchning &#171;uri&#187; och &#171;arguments&#187;, samt i alternativet &#171;pass&#187;.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>K\u00e4lla: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53059\">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.18, \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-83439","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - 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 Unit.\" \/>\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\/sv\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-18-0\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\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.18.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 Unit.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-18-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-05-31T11:42:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-05-31T11:42:03+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\udd47 Utgivning av applikationsservern NGINX Unit 1.18.0 | ProHoster","description":"Utgivningen av applikationsservern NGINX Unit har \u00e4gt rum.","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-18-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","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.18.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 Unit.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-18-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-05-31T11:42:03+00:00","article:modified_time":"2020-05-31T11:42:03+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"83439","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 15:17:29","updated":"2022-09-28 00:39:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/83439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=83439"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/83439\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=83439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=83439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=83439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}