fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php5/fpm/lhc_wiklou;
fastcgi_index index.php ;
- fastcgi_buffers 16 16k;
- fastcgi_buffer_size 32k;
- include fastcgi_params;
+ include /etc/nginx/conf.d/fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
# Handling for the article path
location /wiki {
- include /etc/nginx/fastcgi_params;
+ include /etc/nginx/conf.d/fastcgi.conf;
# article path should always be passed to index.php
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php5/fpm/lhc_wiklou;
fastcgi_index index.php ;
- fastcgi_buffers 16 16k;
- fastcgi_buffer_size 32k;
- include fastcgi_params;
}
# Thumbnail 404 handler, only called by try_files when a thumbnail does not exist
rewrite ^/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ /thumb.php?f=$1&width=$2&archived=1;
# Run the thumb.php script
- include /etc/nginx/fastcgi_params;
+ include /etc/nginx/conf.d/fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root/thumb.php;
fastcgi_pass unix:/run/php5/fpm/lhc_wiklou;
}