avermedia
Nginx - конфиг для Zoneminder
By Boris - Posted on October 25th, 2009
Сегодня решил настроить таки Zoneminder - open source систему для создания видеонаблюдения на базе обычного компа, пока что успехи не значительны, настроил только nginx, решил выложить конфиг, может кому пригодится и сэкономит время.
srv01:/etc/nginx/sites-enabled# cat zoneminder.host.com server { listen 80; server_name zoneminder.host.com; root /usr/share/zoneminder; location / { root /usr/share/zoneminder; index index.php; if (!-e $request_filename) { rewrite ^/(.*)$ /index.php?q=$1 last; } } location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico)$ { access_log off; expires 30d; } error_page 404 /index.php; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root /var/www/nginx-default; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 # #location ~ \.php$ { #proxy_pass http://127.0.0.1; #} # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share/zoneminder/$fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; include /etc/nginx/fastcgi_params; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # location ~ /\.ht { deny all; } }
Еще по теме:
Тэги
АГС
Америка
Бегун
Видео
Дмитрий Потапенко
Домены
Мотивация
Новый мировой порядок
Работа
Фотографии
Хостинг
Яндекс
велосипед
видеонаблюдение
дорвеи
зрение
исправление зрения
кризис
онлайн казино
онлайн покер
очки
пиротехника
прокси
социальные сети
стартап
телефоны
Adsense
adult
ajax
Amazon
Analytics
Apache
avermedia
captains of crush
Database
dealextreme
Debian
Drupal
Feedburner
Fraud
Freelance
Gallery
Gmail
Google
hosting
Hrefer
iphone
JavaScript
jQuery
keywords
Linux
Mldonkey
mod_rewrite
MySQL
nginx
PHP
PostgreSQL
PPC
proxy
python
rfid
Sape
SEO
SMF
sms
SQL
Sqlite
SSH
startup
Subversion
SVN
Ubuntu
Unicode
VPS
XML-RPC
Xrumer
Zend
ZendFramework
zoneminder
Последние комментарии
2 weeks 5 days ago
2 weeks 5 days ago
2 weeks 5 days ago
2 weeks 5 days ago
4 weeks 12 hours ago
4 weeks 4 days ago
5 weeks 1 day ago
5 weeks 4 days ago
6 weeks 3 days ago
6 weeks 6 days ago