{"id":78261,"date":"2020-04-18T07:42:07","date_gmt":"2020-04-18T05:42:07","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-servera-prilozhenij-nginx-unit-1-17-0"},"modified":"2020-04-18T07:42:07","modified_gmt":"2020-04-18T05:42:07","slug":"vypusk-servera-prilozhenij-nginx-unit-1-17-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-17-0","title":{"rendered":"L\u00ebshimi i serverit t\u00eb aplikacioneve NGINX Unit 1.17.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex><a rel=\"nofollow\" href=\"https:\/\/mailman.nginx.org\/pipermail\/unit\/2020-April\/000199.html\">U zhvillua<\/a><\/noindex> l\u00ebshimi i serverit t\u00eb aplikacioneve <noindex><a rel=\"nofollow\" href=\"http:\/\/unit.nginx.org\/\">NGINX Unit 1.17<\/a><\/noindex>, n\u00eb kuad\u00ebr t\u00eb cilit zhvillohet zgjidhja p\u00ebr sigurimin e ekzekutimit t\u00eb aplikacioneve web n\u00eb gjuh\u00eb t\u00eb ndryshme programimi (Python, PHP, Perl, Ruby, Go, JavaScript\/Node.js dhe Java). N\u00ebn menaxhimin e NGINX Unit mund t\u00eb ekzekutohen disa aplikacione n\u00eb t\u00eb nj\u00ebjt\u00ebn koh\u00eb n\u00eb gjuh\u00eb t\u00eb ndryshme programimi, parametrat e nisjes s\u00eb t\u00eb cilave mund t\u00eb ndryshohen dinamikisht pa nevoj\u00ebn p\u00ebr t\u00eb redaktuar skedar\u00ebt e konfigurimit dhe p\u00ebr t\u00eb ri-nisur. Kodi \u00ebsht\u00eb shkruar n\u00eb gjuh\u00ebn C dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/nginx\/unit\">shp\u00ebrndahet<\/a><\/noindex> n\u00eb licenc\u00ebn Apache 2.0. Me ve\u00e7orit\u00eb e NGINX Unit mund t\u00eb njiheni n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48434\">njoftimin<\/a><\/noindex> e l\u00ebshimit t\u00eb par\u00eb. <\/p>\n<p>N\u00eb versionin e ri:<\/p>\n<ul>\n<li class=\"l\"> <noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#routes\">Mund\u00ebsia<\/a><\/noindex> p\u00ebrdorimi i shprehjeve \u00abreturn\u00bb dhe \u00ablocation\u00bb n\u00eb blloqet \u00abaction\u00bb p\u00ebr t\u00eb kthyer menj\u00ebher\u00eb nj\u00eb kod t\u00eb rast\u00ebsish\u00ebm kthimi ose p\u00ebr t\u00eb ridrejtuar n\u00eb nj\u00eb burim t\u00eb jasht\u00ebm. P\u00ebr shembull, p\u00ebr t\u00eb ndaluar aksesin n\u00eb URI-t\u00eb q\u00eb bien n\u00ebn mask\u00ebn \u00ab*\/.git\/*\u00bb, ose p\u00ebr t\u00eb ridrejtuar n\u00eb host me www, mund t\u00eb p\u00ebrdoren k\u00ebto konfigurime:\n<p>  {<br \/>\n      \"match\": {<br \/>\n          \"uri\": \"*\/.git\/*\"<br \/>\n      },<\/p>\n<p>      \"action\": {<br \/>\n          \"return\": 403<br \/>\n      }<br \/>\n  }<\/p>\n<p>  {<br \/>\n      \"match\": {<br \/>\n          \"host\": \"example.org\",<br \/>\n      },<\/p>\n<p>      \"action\": {<br \/>\n          \"return\": 301,<br \/>\n          \"location\": \"https:\/\/www.example.org\"<br \/>\n      }<br \/>\n  }<\/p>\n<li class=\"l\"> Mb\u00ebshtetje p\u00ebr vlerat e fraksionuara t\u00eb pesh\u00ebs s\u00eb server\u00ebve n\u00eb blloqet \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/unit.nginx.org\/configuration\/#upstreams\">upstream<\/a><\/noindex>\". P\u00ebr shembull, konstruksioni me pesha t\u00eb plota, i cili n\u00ebnkupton ridrejtimin n\u00eb 192.168.0.103 me num\u00ebr dyfish m\u00eb t\u00eb vog\u00ebl k\u00ebrkesash se p\u00ebr t\u00eb tjer\u00ebt:\n<p>  {<br \/>\n      \"192.168.0.101:8080\": {<br \/>\n          \"weight\": 2<br \/>\n      },<br \/>\n      \"192.168.0.102:8080\": {<br \/>\n          \"weight\": 2<br \/>\n      },<br \/>\n      \"192.168.0.103:8080\": { },<br \/>\n      \"192.168.0.104:8080\": {<br \/>\n          \"weight\": 2<br \/>\n      }<br \/>\n  }<\/p>\n<p>tani mund t\u00eb simplezohet n\u00eb nj\u00eb form\u00eb m\u00eb t\u00eb thjesht\u00eb dhe logjike:<\/p>\n<p>  {<br \/>\n      \"192.168.0.101:8080\": { },<br \/>\n      \"192.168.0.102:8080\": { },<br \/>\n      \"192.168.0.103:8080\": {<br \/>\n          \"weight\": 0.5<br \/>\n      },<br \/>\n      \"192.168.0.104:8080\": { }<br \/>\n  }<\/p>\n<li class=\"l\"> \u00c7\u00ebshtjet e nd\u00ebrtimit n\u00eb DragonFly BSD jan\u00eb zgjidhur;\n<li class=\"l\"> Korrigjimi i nj\u00eb gabimi q\u00eb \u00e7onte n\u00eb shfaqjen e kodit 502 \u00abBad Gateway\u00bb n\u00eb kushte ngarkese t\u00eb lart\u00eb;\n<li class=\"l\"> E korrigjuar nj\u00eb rrjedhje memorjeje n\u00eb router, e cila u shfaq me shp\u00ebrthimin 1.13.0;\n<li class=\"l\"> Zgjidhur inkonsistencat me disa aplikacione Node.js.\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=52753\">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.17, \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-78261","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - 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\/news\/vypusk-servera-prilozhenij-nginx-unit-1-17-0\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\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.17.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\/news\/vypusk-servera-prilozhenij-nginx-unit-1-17-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-04-18T05:42:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-18T05: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\udd47L\u00ebshimi i serverit t\u00eb aplikacioneve NGINX Unit 1.17.0 | ProHoster","description":"U publikua serveri i aplikacioneve NGINX Unit.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/vypusk-servera-prilozhenij-nginx-unit-1-17-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.17.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\/news\/vypusk-servera-prilozhenij-nginx-unit-1-17-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-04-18T05:42:07+00:00","article:modified_time":"2020-04-18T05:42:07+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"78261","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:56:12","updated":"2022-09-28 06:05:47","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\/78261","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=78261"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/78261\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=78261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=78261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=78261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}