PHP Classes

File: vhost.conf

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Laravel Automatic CRUD  >  vhost.conf  >  Download  
File: vhost.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Automatic CRUD
Generate a CRUD interface for Web and API requests
Author: By
Last change:
Date: 1 year ago
Size: 484 bytes
 

Contents

Class file image Download
server {
    listen 80;
    index index.php index.html;
    root /var/www/public;

    client_max_body_size 300M;

    location / {
        try_files $uri /index.php?$args;
    }

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass app:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
    }
}
For more information send a message to info at phpclasses dot org.