nginx+php-Jinshan Carefree Network CMS announcement System configuration

Source: Internet
Author: User
nginx+php-Jinshan Carefree Network CMS release system configuration
User www www;worker_processes 8;error_log/data1/logs/nginx_error.log crit;pid/usr/local/webserver/nginx/nginx. PID; #Specifies the value for maximum file descriptors the can is opened by this process. Worker_rlimit_nofile 51200;events {use epoll; worker_connections 51200;}      HTTP {include mime.types; Default_type application/octet-stream; #charset utf-8; Server_names_hash_bucket_size 128; Client_header_buffer_size 32k; Large_client_header_buffers 4 32k; Client_max_body_size 300m;      Client_body_buffer_size 128k; Sendfile on; #tcp_nopush on; Keepalive_timeout 65; Tcp_nodelay on; Fastcgi_connect_timeout 300; Fastcgi_send_timeout 300; Fastcgi_read_timeout 300; Fastcgi_buffer_size 64k; Fastcgi_buffers 4 64k; Fastcgi_busy_buffers_size 128k; Fastcgi_temp_file_write_size 128k; gzip off; Gzip_min_length 1k; Gzip_buffers 4 16k; Gzip_http_version 1.1; Gzip_comp_level 2; Gzip_types text/plain application/x-javascript text/css application/xml; Gzip_vary on;#limit_zone crawler $binary _remote_addr 10m;   server {Listen 80;   server_name cms.xoyo.com;   Index index.html index.htm index.php;   root/data0/htdocs/cms.xoyo.com; Location ~. *\.   (Sh|bash)? $ {return 403;}  Location/{index index.html index.php; #如果请求的文件不存在, redirect to a single portal file on if (!-f $request _filename) {rewrite ^/(. *) $/application/cmsmanage/        Index.php last; }} location ~. *\.     (PHP|PHP5) $ {#fastcgi_pass unix:/tmp/php-cgi.sock;     Fastcgi_pass 127.0.0.1:9000;     Fastcgi_index index.php;   Include fcgi.conf; } log_format CMS ' $remote _addr-$remote _user [$time _local] "$request" "$status $body _bytes_sent" $http   _referer "'" $http _user_agent "$http _x_forwarded_for"; Access_log/data1/logs/cms.xoyo.com_access.log CMS; }}

?

nginx+php-Jinshan Carefree Network CMS release system configuration

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.