Install bugzilla in nginx

server {
    listen      80;
    server_name  bugs.alefbt.com;

    access_log /var/log/nginx/alefbt.com-bugs.access.log;
    error_log  /var/log/nginx/alefbt.com-bugs.error.log  warn;

    keepalive_timeout    70;

    charset utf-8;

    root       /srv/www/alefbt.com-bugs/;
    index      index.cgi;
    autoindex off;


    location ~ ^.*\.cgi$ {
        fastcgi_pass  unix:/run/fcgiwrap.socket;

        fastcgi_index index.cgi;
        fastcgi_param SCRIPT_FILENAME /srv/www/alefbt.com-bugs/$fastcgi_script_name;
        include /etc/nginx/fastcgi_params;
    }
}