K
K
Kirill2013-09-25 22:38:56
Nginx
Kirill, 2013-09-25 22:38:56

nginx + ngx_pagespeed

Hello.

The server has nginx 1.4.1 installed

:~$ nginx -V
nginx version: nginx/1.4.1
TLS SNI support enabled
configure arguments: --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --with-pcre-jit --with-debug --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-http_xslt_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=/build/buildd/nginx-1.4.1/debian/modules/nginx-auth-pam --add-module=/build/buildd/nginx-1.4.1/debian/modules/nginx-dav-ext-module --add-module=/build/buildd/nginx-1.4.1/debian/modules/nginx-echo --add-module=/build/buildd/nginx-1.4.1/debian/modules/nginx-upstream-fair --add-module=/build/buildd/nginx-1.4.1/debian/modules/ngx_http_substitutions_filter_module


I want to add the ngx_pagespeed module to nginx.
I do as it is written in github.com/pagespeed/ngx_pagespeed#how-to-build .
Nginx is installed in its standard directory and everything seems to be ok, but one thing confuses me:

:~$ /usr/local/nginx/sbin/nginx -V
nginx version: nginx/1.4.2
built by gcc 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configure arguments: --add-module=/home/kirillmaramygin/ngx_pagespeed-release-1.6.29.5-beta


Compared to the installed one, the new one has too few modules. Or does it mean nothing and you can safely rewrite init scripts?
Or is it better to add modules?

Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mastini, 2013-09-25
@masterclass

If you use them, then you need to add.
You can also remove those that are not needed with the --without parameter,
but in general, ./configure --help

V
VBart, 2013-09-26
@VBart

You have Debian. Build the package and install it on the system already. By doing as it is written on the link, you turn your system into a garbage dump.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question