PHP Classes

File: ops/docker/prod/nginx/default.conf

Recommend this page to a friend!
  Classes of Leonardo Di Sarli   Ala PHP API Micro-Framework   ops/docker/prod/nginx/default.conf   Download  
File: ops/docker/prod/nginx/default.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ala PHP API Micro-Framework
Generate base code for API using a query builder
Author: By
Last change:
Date: 6 months ago
Size: 575 bytes
 

Contents

Class file image Download
server { listen 80; root /var/www/html/public; index index.html index.htm index.php; add_header X-Cache $upstream_cache_status; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { fastcgi_pass ala-php:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_cache microcache; fastcgi_cache_key $scheme$host$request_uri$request_method; fastcgi_cache_valid 200 301 302 30s; fastcgi_cache_use_stale updating error timeout invalid_header http_500; include fastcgi_params; } }