We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
nginx-push-stream-module
nginx-push-stream-module
Ни кто не прикручивал такую штуку? Если да, получилось?
Re: nginx-push-stream-module
Не, нужно же пересобирать nginx )
Re: nginx-push-stream-module
пересобрать то я пересобрал, но видимо что то не то :)
тест
Code: Select all
nginx -V
nginx version: nginx/1.8.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --add-module=../nginx-push-stream-module --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --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-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
Code: Select all
# /usr/local/nginx/sbin/nginx -c $NGINX_PUSH_STREAM_MODULE_PATH/misc/nginx.conf -t
nginx: [emerg] invalid event type "poll" in /root/nginx-push-stream-module/misc/nginx.conf:19
nginx: configuration file /root/nginx-push-stream-module/misc/nginx.conf test failed
Re: nginx-push-stream-module
Имею предположить, что works with 1.2.0+. Эта нумерация версий была в nginx-extra, nginx 1.8.x - это ветка nginx-full.Iknow wrote:пересобрать то я пересобрал, но видимо что то не то :)
Возможно я сейчас выскажу заблуждение, но очень может быть нужно именно nginx-extra и компилить с ней. Хотя возможно мануал писался несколько лет назад и к составу тут вряд ли могут претензии.
Как вариант, может быть попробовать с какой-нибудь 1.9.х веткой скомпилировать?
Re: nginx-push-stream-module
с 9-й
Нужен он для vesta?
Code: Select all
./configure: error: invalid option "--with-http_spdy_module"
Re: nginx-push-stream-module
Нет (точнее не совсем принципиально его наличие), дальше пойдет http/2, а оно не совместимо со SPDY: либо одно, либо другое. Похоже Nginx сделал выбор за нас, спасибо конечно :)Iknow wrote:с 9-йНужен он для vesta?Code: Select all
./configure: error: invalid option "--with-http_spdy_module"
PS: и то, и другое - протоколы прикладного уровня, чтобы сделать медленный по сути HTTPS быстрее
Re: nginx-push-stream-module
Та же ерунда, как и с nginx 1.6.2. который Битркис рекомендуют
видимо я все же что то делаю не так.. :)
видимо я все же что то делаю не так.. :)
Re: nginx-push-stream-module
от меня накрыло (facepalm)
все работает, в том конфиге который все рекомендуют использовать в качестве теста стоит
само собой, что используется не он, а epoll :)
все работает, в том конфиге который все рекомендуют использовать в качестве теста стоит
Code: Select all
use poll