PHP Classes

File: nginx.conf

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   nginx.conf   Download  
File: nginx.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of nginx.conf
Date: 9 months ago
Size: 570 bytes
 

Contents

Class file image Download
server { listen 80; server_name domain.ltd; root /path/to/webapp/directory; index index.php; access_log /path/to/access_log; error_log /path/to/error_log; location / { try_files $uri $uri/ /index.php?r=$uri&$args; } location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; include fastcgi_params; } }