Skip to content
Ycarus edited this page Jun 1, 2017 · 1 revision

Nginx configuration

rewrite MUST be installed.

example :

server {
      listen 127.0.0.1;
      server_name localhost;
      root /var/www/flightairmap/htdocs;
      location ~ \.php$ {
           fastcgi_pass unix:/run/php-fpm.socket;
           fastcgi_index index.php;
           include /etc/nginx/fastcgi.conf;
           fastcgi_read_timeout 300;
      }
      include /var/www/flightairmap/htdocs/install/flightairmap-nginx-conf.include;
}
Clone this wiki locally