PHP Classes

File: tests/build/nginx.conf

Recommend this page to a friend!
  Classes of Thien Tran  >  Phalcon Cashier  >  tests/build/nginx.conf  >  Download  
File: tests/build/nginx.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phalcon Cashier
Access subscription services provided by Stripe
Author: By
Last change:
Date: 6 years ago
Size: 928 bytes


Class file image Download
worker_processes 1;

events {
    worker_connections 1024;

http {
    include       mime.types;
    default_type  application/octet-stream;

    gzip  on;

    upstream php {

    server {
        listen 80;
        server_name pforum.loc;

        root  %TRAVIS_BUILD_DIR%/public;
        index index.php;

        try_files $uri $uri/ @rewrite;

        location @rewrite {
            rewrite ^/(.*)$ /index.php?_url=/$1 last;

        location ~ \.php$ {
            try_files $uri =404;

            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_pass            php;

            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param PATH_INFO       $fastcgi_path_info;
            fastcgi_param HTTP_REFERER    $http_referer;

            include fastcgi_params;
For more information send a message to info at phpclasses dot org.