{"id":74038,"date":"2020-03-13T20:42:11","date_gmt":"2020-03-13T17:42:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-0"},"modified":"2020-03-13T20:42:11","modified_gmt":"2020-03-13T17:42:11","slug":"vypusk-servera-prilozhenij-nginx-unit-1-16-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-0","title":{"rendered":"L\u00ebshimi i serverit t\u00eb aplikacioneve NGINX Unit 1.16.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/mailman.nginx.org\/pipermail\/unit\/2020-March\/000195.html\">U shpall<\/a><\/noindex> l\u00ebshimi i serverit t\u00eb aplikacioneve <noindex><a rel=\"nofollow\" href=\"http:\/\/unit.nginx.org\/\">NGINX Unit 1.16<\/a><\/noindex>, n\u00eb kuad\u00ebr t\u00eb cilit po zhvillohet nj\u00eb zgjidhje p\u00ebr funksionimin e aplikacioneve web n\u00eb gjuh\u00eb t\u00eb ndryshme programuese (Python, PHP, Perl, Ruby, Go, JavaScript\/Node.js dhe Java). N\u00ebn menaxhimin e NGINX Unit, disa aplikacione n\u00eb gjuh\u00eb t\u00eb ndryshme programuese mund t\u00eb ekzekutohen nj\u00ebkoh\u00ebsisht, dhe parametrat e lan\u00e7imit mund t\u00eb ndryshohen me dinamik\u00eb pa pasur nevoj\u00eb t\u00eb redaktohen skedar\u00ebt e konfigurimit dhe t\u00eb rindezen. Kodi \u00ebsht\u00eb shkruar n\u00eb gjuh\u00ebn C dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/nginx\/unit\">distribuohet<\/a><\/noindex> n\u00ebn licenc\u00ebn Apache 2.0. Keni mund\u00ebsi t\u00eb njiheni me ve\u00e7orit\u00eb e NGINX Unit n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48434\">njoftime<\/a><\/noindex> \u00e7lirimin e par\u00eb. <\/p>\n<p>N\u00eb k\u00ebt\u00eb version t\u00eb ri:<\/p>\n<ul>\n<li class=\"l\"> <noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#upstreams\">Shtuar<\/a><\/noindex> mb\u00ebshtetje p\u00ebr balancimin e ngarkes\u00ebs n\u00eb modin round-robin. P\u00ebr shembull, p\u00ebr t\u00eb shp\u00ebrndar\u00eb ngarkes\u00ebn n\u00eb dy servera 192.168.0.100 dhe 192.168.0.101 me dyfishim t\u00eb numrit t\u00eb k\u00ebrkesave ndaj serverit t\u00eb dyt\u00eb, mund t\u00eb p\u00ebrdorni konstruksin e m\u00ebposht\u00ebm:\n<p>    \"upstreams\": {<br \/>\n        \"rr-lb\": {<br \/>\n            \"servers\": {<br \/>\n                \"192.168.0.100:8080\": { },<br \/>\n                \"192.168.0.101:8080\": { \"weight\": 2 }<br \/>\n            }<br \/>\n        }<br \/>\n    }<\/p>\n<li class=\"l\"> <noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#configuration-fallback\">Implementuar<\/a><\/noindex> mund\u00ebsia e vendosjes s\u00eb rregullave fleksib\u00ebl t\u00eb ruteve t\u00eb k\u00ebrkesave, t\u00eb ngjashme me funksionalitetin \"<noindex><a rel=\"nofollow\" href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_core_module.html#try_files\">try_files\"<\/a><\/noindex>\" n\u00eb nginx. Nj\u00eb rrug\u00eb shtes\u00eb p\u00ebrcaktohet p\u00ebrmes direktiv\u00ebs \"fallback\", e cila aktivizohet n\u00ebse skedari i k\u00ebrkuar nuk gjendet n\u00eb rrug\u00ebn e caktuar p\u00ebrmes direktiv\u00ebs \"share\". P\u00ebr shembull, p\u00ebr t\u00eb thirrur nj\u00eb p\u00ebrpunues PHP n\u00eb rast se skedari nuk gjendet n\u00eb katalogun \/data\/www\/, mund t\u00eb specifikohet:\n<p>   {<br \/>\n       \"share\": \"\/data\/www\/\",<br \/>\n       \"fallback\": {<br \/>\n           \"pass\": \"applications\/php\"<br \/>\n       }<br \/>\n   }<\/p>\n<p>Lejohet p\u00ebrdorimi i blloqeve t\u00eb brendshme \"fallback\". P\u00ebr shembull, n\u00ebse skedari nuk \u00ebsht\u00eb n\u00eb \/data\/www\/, mund t\u00eb p\u00ebrpiqeni ta ofroni at\u00eb nga \/data\/cache\/, dhe n\u00ebse as atje nuk ndodhet, t\u00eb redirigjoni k\u00ebrkes\u00ebn n\u00eb nj\u00eb backend tjet\u00ebr:<\/p>\n<p>   {<br \/>\n      \"share\": \"\/data\/www\/\",<\/p>\n<p>      \"fallback\": {<br \/>\n          \"share\": \"\/data\/cache\/\",<\/p>\n<p>          \"fallback\": {<br \/>\n              \"proxy\": \"http:\/\/127.0.0.1:9000\"<br \/>\n          }<br \/>\n      }<br \/>\n   }<\/p>\n<li class=\"l\"> N\u00eb parametrat e konfigurimit t\u00eb ngarkuar n\u00eb formatin JSON \u00ebsht\u00eb siguruar heqja e komenteve n\u00eb stilin JavaScript (\"\/\/...\" dhe \"\/* ... *\/\") dhe pastrimi i shenjuesve t\u00eb sekuenc\u00ebs s\u00eb byte-ve (<noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9C%D0%B0%D1%80%D0%BA%D0%B5%D1%80_%D0%BF%D0%BE%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D1%81%D1%82%D0%B8_%D0%B1%D0%B0%D0%B9%D1%82%D0%BE%D0%B2\">UTF-8 BOM<\/a><\/noindex>), q\u00eb mund t\u00eb jet\u00eb e dobishme n\u00eb rastin e redaktimit manual t\u00eb parametrave n\u00eb JSON.\n<li class=\"l\"> \u00cbsht\u00eb ulur konsumimi i memories p\u00ebrmes hapjes s\u00eb trupit t\u00eb k\u00ebrkesave shum\u00eb t\u00eb m\u00ebdha n\u00eb disk.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Burimi: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52536\">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.16, \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-74038","post","type-post","status-publish","format-standard","hentry","category-novosti-interneta"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - 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\/sq\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-0\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\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.16.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\/sq\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-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-03-13T17:42:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-13T17:42:11+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\udd47L\u00ebshimi i serverit t\u00eb aplikacioneve NGINX Unit 1.16.0 | ProHoster","description":"L\u00ebshimi i serverit t\u00eb aplikacioneve NGINX Unit ka ndodhur.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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.16.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\/sq\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-16-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-03-13T17:42:11+00:00","article:modified_time":"2020-03-13T17:42:11+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"74038","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 18:22:32","updated":"2022-10-07 17:58:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/74038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=74038"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/74038\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=74038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=74038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=74038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}