I can not understand what I'm doing wrong /var/log/nginx/error.log: 2014/02/06 10:57:41 30758#0: *41499 limiting connections by zone "bad_ip", client: 178.68.6.216, server: domain.ru, request: "GET / ... and more than 10 time 2014/02/06 10:56:52 30758#0: *41327 limiting requests, excess: 20.232 by zone "bad_req", client: 178.68.6.216, server: zemanigirls.ru, reby Fader - How to...
В голове крутится еще один вариант: # основной vhost блога server { listen 80; server_name someblog1.ru mirrorofsomeblog1.ru; root /var/www/someblog1.ru; index index.php index.html index.htm ... } # vhost для раздачи изображений из папки /gallery на поддоменах server { listen 80; server_name cdn?.soby Fader - Nginx Mailing List - Russian
Доброго времени суток. Проблема вроде простая, но требует изящного решения. Итак, у меня несколько фотоблогов wordpress. Изображений много в т.ч. тяжелых. Для облегчения работы сервера использую связку Wordpress WP-SuperCache plugin + clouby Fader - Nginx Mailing List - Russian
Все, нашел сам. BY 1; # моя страна для проверкиby Fader - Russian Forum
nginx.conf: http { ... geoip_country /etc/nginx/geo/GeoIP.dat; map $geoip_country_code $bad_country { default 0; include /etc/nginx/geo/bad_countries; } ... } mysite.conf server { listen 80; server_name .mysite.ru; if ($bad_country){ return 444; } ... } /etc/nginx/geo/bad_countries BY 0; # моя страна для проверки Делаю nginx -t - всеby Fader - Russian Forum
Также регулярно сталкиваюсь с такого рода варнингами в логе php-fpm: seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 44 total children server reached pm.max_children setting (50), consider raising it WebServer работает на дедике: E2180 @ 2.00Gby Fader - Php-fpm Mailing List - Russian
Hello. There are ready-for-use filters for preventing common attacks under Apache at once after installation: apache-auth.conf apache-badbots.conf apache-nohome.conf apache-noscript.conf apache-overflows.conf But didn't works above, except apache-badbots.conf. Surely someone has successfully adapted these conf's for nginx (or, maybe create new, more justified and accuratby Fader - How to...
ink08 Wrote: ------------------------------------------------------- > похоже на то, что на server-е > "localhost" или "_" не прописана > root директория спасибо. пофиксилby Fader - Russian Forum
Доброго дня! Помогите понять откуда ноги растут. Вероятно какой-то локальный сервис пытается открыть дефолтный индекс nginx. С регулярностью раз в 5 минут ловлю ошибку: 2012/02/24 09:20:04 340#0: *80585 "/etc/nginx/html/index.html" is not found (2:by Fader - Russian Forum
# nginx -V nginx: nginx version: nginx/1.0.6 nginx: TLS SNI support enabled nginx: configure arguments: --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-teby Fader - Nginx Mailing List - Russian
Доброго дня. Хочу установить и настроить ngx_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/) про настройку вроде все понятно. Подскажите как пересобрать nginx с этим модулем? Чтобы все корректно встало и не пофейлилась прежняя конфигby Fader - Nginx Mailing List - Russian