Поищите рефки digitalocean, там $10 дают при регистрации по ним, на 2 месяца аренды первого ихнего VDS тарифа хватит
Спасибо за подсказку, вариант не подошел. Все равно щиток и надпись появляется.
Скажите пожалуйста, впски OVZ? KVM?
Защита от DDoS атак - от 750 рублей в месяц. - ДДГ, 5мбит? Или что это за защита, на сайте 0 инфы.
Строка то есть. Но если бы модуль был, при добавлении его конфигурации и перезагрузки nginx, такой ошибки не выдавало бы:
Restarting nginx: nginx: [emerg] unknown directive "pagespeed" in /etc/nginx/nginx.conf:83
nginx: configuration file /etc/nginx/nginx.conf test failed
Оптимизайка, хорошо, попробую, но официальный мануал от гугла так же для дебиана был.
lealhost,
--prefix=/etc/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=/var/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-sha1=/usr/include/openssl --with-md5=/usr/include/openssl --with-mail --with-mail_ssl_module --add-module=/tmp/buildd/nginx-1.2.1/debian/modules/nginx-auth-pam --add-module=/tmp/buildd/nginx-1.2.1/debian/modules/nginx-echo --add-module=/tmp/buildd/nginx-1.2.1/debian/modules/nginx-upstream-fair --add-module=/tmp/buildd/nginx-1.2.1/debian/modules/nginx-dav-ext-module +add-module=//tmp/buildd/nginx-1.2.1/debian/modules/pagespeed
Вот что выдало
Den73,
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [2001:41d0:1:a01f::1]:80 failed (98: Address already in use) nginx: [emerg] bind() to IP-адрес сервера:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [2001:41d0:1:a01f::1]:80 failed (98: Address already in use) nginx: [emerg] bind() to IP-адрес сервера:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [2001:41d0:1:a01f::1]:80 failed (98: Address already in use) nginx: [emerg] bind() to IP-адрес:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [2001:41d0:1:a01f::1]:80 failed (98: Address already in use) nginx: [emerg] bind() to IP-адрес сервера:443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to [2001:41d0:1:a01f::1]:80 failed (98: Address already in use) nginx: [emerg] bind() to IP-адрес сервера:443 failed (98: Address already in use) nginx: [emerg] still could not bind()
user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; client_max_body_size 10m; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=all:32m; ## # Logging Settings ## access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ## # Gzip Settings ## gzip on; gzip_disable "msie6"; gzip_static on; gzip_comp_level 6; gzip_min_length 1024; gzip_proxied any; gzip_vary on; gzip_buffers 16 8k; gzip_http_version 1.1; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; ## # nginx-naxsi config ## # Uncomment it if you installed nginx-naxsi ## #include /etc/nginx/naxsi_core.rules; ## # nginx-passenger config ## # Uncomment it if you installed nginx-passenger ## #passenger_root /usr; #passenger_ruby /usr/bin/ruby; ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; include /etc/nginx/vhosts/*/*; server { listen 80; server_name localhost; expires 24h; add_header Cache-Control private; disable_symlinks if_not_owner; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; include /etc/nginx/vhosts-includes/*.conf; location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|pdf|ppt|txt|bmp|rtf|js)$ { root /var/www/gal/data/www/url; expires 7d;} location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|pdf|ppt|txt|bmp|rtf|js)$ { root /var/www/gal/data/www/url; expires 7d;} location ~* ^.+\.(rss|atom|jpg|jpeg|gif|png|ico|rtf|js|css)$ { expires 7d; } location / { default_type text/html; set $memcached_key "$server_name:$request_uri"; memcached_pass 127.0.0.1:11211; } location @fallback { error_log /dev/null crit; proxy_pass http://127.0.0.1:8080; proxy_redirect http://127.0.0.1:8080 /; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Secret EVxO/i+HONShDmRW; access_log off ; } } } #mail { # # See sample authentication script at: # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript # # # auth_http localhost/auth.php; # # pop3_capabilities "TOP" "USER"; # # imap_capabilities "IMAP4rev1" "UIDPLUS"; # # server { # listen localhost:110; # protocol pop3; # proxy on; # } # # server { # listen localhost:143; # protocol imap; # proxy on; # } #}
URL в лс
Ап, кто возьмется решить проблему за деньги?
Такие строчки в конфиге nginx уже присутствуют. Не помогает
text/javascript в дерективе gzip_types так же есть, gzip работает
И чем же он так плох?