nginx gzip_static
andribas 4 Августа, 2010 - 14:03
Здравствуйте!
Подскажите как получить работающий сабж.
nginx # emerge -pv nginx These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-servers/nginx-0.7.65 USE="fastcgi pcre perl ssl static-gzip zlib -addition -debug -flv -imap -pop -random-index -realip -smtp -status -sub -webdav" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB # tail -n 3 error_log 2010/08/04 15:51:35 [notice] 13446#0: signal 1 (SIGHUP) received, reconfiguring 2010/08/04 15:51:35 [notice] 13446#0: reconfiguring 2010/08/04 15:51:35 [emerg] 13446#0: unknown directive "gzip_static" in /etc/nginx/nginx.conf:53 # cat nginx.conf | grep -n gzip_static 53: gzip_static on; # nginx -V nginx version: nginx/0.7.65 TLS SNI support enabled configure arguments: --prefix=/usr --with-cc-opt=-I//usr/include --with-ld-opt=-L//usr/lib --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access_log --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --with-http_realip_module --with-http_ssl_module --with-http_perl_module --with-http_gzip_static_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module
Как победить?
»
- Для комментирования войдите или зарегистрируйтесь
gzip on;
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)