PHP Classes

File: phpdocker/nginx/nginx.conf

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  phpdocker/nginx/nginx.conf  >  Download  
File: phpdocker/nginx/nginx.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 2 years ago
Size: 859 bytes


Class file image Download
server {
    listen 8888 default_server;
    listen [::]:8888 default_server ipv6only=on;

    #listen 443 ssl;

    #ssl_certificate /etc/nginx/certs/server.crt;
    #ssl_certificate_key /etc/nginx/certs/server.key;


    client_max_body_size 508M;

    access_log /var/log/nginx/application.access.log;

    root /application/public;
    index index.php;

    if (!-e $request_filename) {
        rewrite ^.*$ /index.php last;

    location ~ \.php$ {
        fastcgi_pass ajudaime_php:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log";
        fastcgi_buffers 16 16k;
        fastcgi_read_timeout 300;
        fastcgi_buffer_size 32k;
        include fastcgi_params;
For more information send a message to info at phpclasses dot org.