witam serdecznie.
Posiadam VPS, który obsługuje moją stronę internetową. Jest zainstalowany Debian 8 64bit, serwer www Nginx. wszystko działa poprawnie ale dość wolno.
Chce polepszyć szybkość strony korzystając z modułu od Google - ngx_pagespeed.
po wykonaniu polecenia na serwerze:
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
--nginx-version latest
nastąpiła automatyczna instalacja modułu, wszystko przebiegło poprawnie.
Na końcu otrzymałem komunikat
ngx_pagespeed is ready to be build against nginx.
when running ./configure:
Give ./configure the following arguments:
--add-module=/root/nginx_pagespeed-latest-stable
If this is for integration with an already-built nginx, make sure to include any other arguments you orginally passed to ./configure. you can see these with 'nginx -V'.
JAK dokończyć tą konfigurację zeby uaktywnić modul ?
w logu jest napisane
2017/09/28 21:57:42 [emerg] 12225#12225: unknown directive "pagespeed" in /etc/nginx/nginx.conf:64
Proszę o pomoc.
Pozdrawiam
Wojciech Słomiński
Moderacja: Proszę używać znaczników kodu.
Problem z instalacją modułu pagespeed dla serwera Nginx
Re: Problem z instalacją modułu pagespeed dla serwera Nginx
Jak instalowałeś nginx'a - z repozytoriów czy ze źródeł?
- LordRuthwen
- Moderator
- Posty: 2341
- Rejestracja: 18 września 2009, 21:45
- Lokalizacja: klikash?
Re: Problem z instalacją modułu pagespeed dla serwera Nginx
Musisz przebudować nginxa, samo się n zrobi.
https://www.digitalocean.com/community/ ... n-debian-8
https://www.digitalocean.com/community/ ... n-debian-8