NGINX Unit 1.11.0 e lokollotsoe

Ka la 19 Loetse 2019, ho ile ha lokolloa seva sa kopo sa NGINX Unit 1.11.0.
Likarolo tsa bohlokoa:

  • Seva e na le bokhoni bo hahelletsoeng ba ho sebeletsa litaba tse tsitsitseng ntle le ho fihlella seva sa http sa kantle. Ka lebaka leo, ba batla ho fetola seva sa kopo hore e be sebatli sa marang-rang se nang le lisebelisoa tse hahiloeng bakeng sa ho haha ​​litšebeletso tsa marang-rang. Ho aba litaba, hlakisa motso oa buka ho litlhophiso {
    "share": "/data/www/example.com"
    }

    'me, ha ho hlokahala, fumana mefuta e sieo ea MIME {
    "mime_types": {
    "mongolo/motse": [
    "bala",
    ".c",
    ".h"
    ],

    "application/msword": ".doc"
    }
    }

    • Tšehetso e ekelitsoeng bakeng sa ho itšehla thajana ho sebelisa lisebelisoa tsa ho itšehla thajana ho Linux. Ho faele ea tlhophiso, o ka nolofalletsa libaka tse fapaneng tsa mabitso, oa lumella lithibelo tsa sehlopha, kapa oa etsa 'mapa oa GID/UID ea sandbox ho ea ka sehloohong {
      "libaka tsa mabitso": {
      "credential": 'nete,
      "pid": 'nete,
      "network": 'nete,
      "mount": bohata,
      "uname": 'nete,
      "sehlopha": bohata
      },

      "uidmap": [
      {
      "setshelo": 1000,
      "moamoheli": 812,
      "boholo": 1
      }
      ],

      "gidmap": [
      {
      "setshelo": 1000,
      "moamoheli": 812,
      "boholo": 1
      }
      ]
      }

    • Ts'ebetso ea matsoalloa ea WebSocket e kentsoe bakeng sa li-servlets tsa JSC.
    • Kenyelletso e kenyellelitsoeng ea ho sebetsana ka kotloloho le litlhophiso tsa API tse nang le sebopeho sa "/", ho sebelisoa ho phonyoha ha eona ka "%2F". Mohlala:
      FUMANA /config/settings/http/static/mime_types/text%2Fplain/

Source: linux.org.ru

Eketsa ka tlhaloso