Difference between revisions of "Seon with nginx"

From Seon
Jump to: navigation, search
(New page: == Nginx configuration == In order to make the Seon web interface(s) work with nginx, you have to configure the server correctly. Such a configuration for the administrative web interface ...)
 
 
Line 1: Line 1:
 +
== PHP installation ==
 +
PHP must be installed as "FastCGI Process Manager" process:
 +
apt-get install php5-fpm
 +
 
== Nginx configuration ==
 
== Nginx configuration ==
 
In order to make the Seon web interface(s) work with nginx, you have to configure the server correctly. Such a configuration for the administrative web interface can be:
 
In order to make the Seon web interface(s) work with nginx, you have to configure the server correctly. Such a configuration for the administrative web interface can be:

Latest revision as of 15:51, 21 October 2014

PHP installation

PHP must be installed as "FastCGI Process Manager" process:

apt-get install php5-fpm

Nginx configuration

In order to make the Seon web interface(s) work with nginx, you have to configure the server correctly. Such a configuration for the administrative web interface can be:

server {
        root /var/www;

        index index.php index.html;

        location ~ /seonapi/index\.php.* {
                include fastcgi_params;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                fastcgi_param  SCRIPT_FILENAME $document_root/seon/seonapi/index.php;
        }
        location ~ index\.php.* {
                include fastcgi_params;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
        }
}