This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2023-2024 Fabio Lima | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"schemaVersion":1,"label":"coverage","message":"100%","color":"green","namedLogo":"mocha","logoColor":"white"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 01) устанавливаем nginx обычным образом, чтобы создались дефолтные конфиги | |
| 02) скачиваем исходники nginx со страницы https://nginx.org/en/download.html; распаковываем (tar -xvf) | |
| 03) скачиваем исходники openssl со страницы https://www.openssl.org/source; распаковываем (tar -xvf) | |
| note: обычно исходники скачивают в /usr/local/src/ | |
| 04) клонируем репозиторий https://github.com/google/ngx_brotli | |
| 05) в папке ngx_brotli инициализируем субмодули командой (git submodule update --init) | |
| node: позже обновить субмодули можно командой git submodule update --recursive | |
| 06) проверяем что для nginx указан репозиторий пакетов для сборки | |
| - открываем /etc/apt/sources.list.d/nginx.list | |
| - если нет строчки, которая начинается на deb-src, то скопируйте строчку которая начинается с deb и допишите -src |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"schemaVersion":1,"label":"coverage","message":"83.72%","color":"green","namedLogo":"mocha","logoColor":"white"} |