BugZilla
Zur Navigation springen
Zur Suche springen
Installation
[Bearbeiten]Perl-CGI
[Bearbeiten]wget http://nginxlibrary.com/downloads/perl-fcgi/fastcgi-wrapper -O /usr/bin/fastcgi-wrapper.pl chmod +x /usr/bin/fastcgi-wrapper.pl wget http://nginxlibrary.com/downloads/perl-fcgi/perl-fcgi -O /etc/init.d/perl-fcgi chmod +x /etc/init.d/perl-fcgi perl -pi -e 's!OpenSocket.*$!OpenSocket( "/var/run/nginx/perl-fcgi.sock", 10 );!;' /usr/bin/fastcgi-wrapper.pl mkdir -p /var/run/nginx chown www-data.www-data /var/run/nginx update-rc.d perl-fcgi default insserv perl-fcgi
nginx
[Bearbeiten]cat <<EOS >/etc/nginx/sites-enabled/bugzilla.hamatoma.de
server {
listen 80;
server_name bugzilla.hamatoma.de bugzilla.f-r-e-i.de;
root /home/www/bugzilla-5.0.2/;
access_log /var/log/nginx/bugzilla.log;
location / {
index index.cgi;
}
location ~ \.pl|cgi$ {
include fastcgi.conf;
try_files $uri =404;
gzip off;
fastcgi_pass unix:/var/run/nginx/perl-fcgi.sock;
fastcgi_index index.cgi;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
EOS