четверг, 18 июня 2015 г., 18:14:19 UTC+3 пользователь 74cmonty написал:
> Hi!
> 
> According to the project side https://www.bareos.org/en/bareos-webui.html the 
> minimum requirement is to have Apache 2.x Webserver installed.
> 
> Question:
> Is it feasible to use another webserver supporting PHP, e.g. Nginx?
> 
> 
> THX
Hi!
my nginx+php-fpm config:

server {
    listen *:80;
    server_name    bareos ~^bareos\d+$ ~^bareos\d+\..*$;

    access_log  /var/log/nginx/bareos.access.log;
    error_log  /var/log/nginx/bareos.error.log;

    root /usr/share/bareos-webui;

    location ~ ^/(js|css|fonts|img)/ {
        root /usr/share/bareos-webui/public;
        access_log off;
    }

    location / {
        include fastcgi_params;
        fastcgi_param ZF2_PATH /usr/share/php5/;
        fastcgi_param APPLICATION_ENV production;

        fastcgi_param SCRIPT_FILENAME /usr/share/bareos-webui/public/index.php;
        fastcgi_pass php5-fpm-www;
        fastcgi_read_timeout 2400;
    }
}

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to