Nginxでビルドエラー「./configure: error: the HTTP gzip module requires the zlib library.」の解決法
解決したいエラー
Nginxをソースからビルドするために./configure ...をした時に出たエラー。 code:エラー
...
./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.
解決方法
code:bash
apt install zlib
apt install zlib1g-dev