1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/zoneminder/nginx.conf

22 lines
655 B
Nginx Configuration File
Raw Normal View History

2016-07-05 12:37:51 +02:00
server {
listen 80 default_server;
server_name _;
index index.php;
location /zm/ {
alias /usr/share/zoneminder/www/;
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_pass unix:/var/run/php5-fpm.sock;
}
}
2016-07-18 07:02:30 +02:00
location = /zm/cgi-bin/nph-zms {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/lib/zoneminder/cgi-bin/nph-zms;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
2016-07-05 12:37:51 +02:00
}
}