Нужна помощь не могу пересобрать nginx под http2

ffreest
На сайте с 22.08.2010
Offline
133
174

Делаю по этой инструкции

https://www.syrog.ru/news/99/

Неединственное свою их 1.10 версию поменял на свою 1.19.5

Прорывал разные версии openssl и тоже 1.1.1

Получаю ошибку после make

created directory `/usr/local/src/openssl-1.1.0c/.openssl/lib'
install libcrypto.a -> /usr/local/src/openssl-1.1.0c/.openssl/lib/libcrypto.a
install libssl.a -> /usr/local/src/openssl-1.1.0c/.openssl/lib/libssl.a
basename: missing operand

Try `basename --help' for more information.
make[2]: *** [install_dev] Ошибка 1
make[2]: Leaving directory `/usr/local/src/openssl-1.1.0c'
make[1]: *** [/usr/local/src/openssl-1.1.0c/.openssl/include/openssl/ssl.h] Ошибка 2
make[1]: Leaving directory `/usr/local/src/nginx-1.19.5'

make: *** [build] ошибка 2

Система Centos 6.10















Размести бесплатно объявление по продаже готового бизнеса по недвижимости твой адрес (https://tvoyadres.ru/nedvizhimost/biznesy/). Узнай реальную стоимость своей квартиры оценка квартиры онлайн (https://tvoyadres.ru/ocenka/kvartira/).
Aisamiery
На сайте с 12.04.2015
Offline
314
#1

Вы точно делаете то что нужно? там же сейчас включается через простую настройку у server

server {
listen 443 ssl;
server_name site.ru;
http2 on; }

Разработка проектов на Symfony, Laravel, 1C-Bitrix, UMI.CMS, OctoberCMS
ffreest
На сайте с 22.08.2010
Offline
133
#2
Aisamiery #:

Вы точно делаете то что нужно? там же сейчас включается через простую настройку у server

Да уже сделал, у меня Centos 6.10 старый

./configure –prefix=/etc/nginx –sbin-path=/usr/sbin/nginx –modules-path=/usr/lib64/nginx/modules –conf-path=/etc/nginx/nginx.conf –error-log-path=/var/log/nginx/error.log –http-log-path=/var/log/nginx/access.log –pid-path=/var/run/nginx.pid –lock-path=/var/run/nginx.lock –http-client-body-temp-path=/var/cache/nginx/client_temp –http-proxy-temp-path=/var/cache/nginx/proxy_temp –http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp –http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp –http-scgi-temp-path=/var/cache/nginx/scgi_temp –user=nginx –group=nginx –with-compat –with-file-aio –add-dynamic-module=/usr/local/src/njs-1c50334fbea6/nginx –with-threads –with-http_addition_module –with-http_auth_request_module –with-http_dav_module –with-http_flv_module –with-http_gunzip_module –with-http_gzip_static_module –with-http_mp4_module –with-http_random_index_module –with-http_realip_module –with-http_secure_link_module –with-http_slice_module –with-http_ssl_module –with-http_stub_status_module –with-http_sub_module –with-http_v2_module –with-mail –with-mail_ssl_module –with-stream –with-stream_realip_module –with-stream_ssl_module –with-stream_ssl_preread_module –with-cc-opt=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 -mtune=generic’ –with-ld-opt=‘-Wl,-z,relro -Wl,-z,now -pie’ –with-openssl=/usr/local/src/openssl-1.0.2u

завелось с openssl-1.0.2u

только ругалось на

пришлось убрать 2 строки

–with-cc-opt=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC’

–with-ld-opt=‘-Wl,-z,relro -Wl,-z,now -pie’

на что они влияют?

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий