zoukankan      html  css  js  c++  java
  • Nginx*PHP

    server {
      listen 80;
      server_name zg.dbschenker-atoms.com;
      access_log /data/web_log/nginx_log/zg_db_access.log moss;
      error_log /data/web_log/nginx_log/zg_db_error.log;
    
    location / {
      root /data/web_data/web/app/zg_cat/www/;
      index index.php index.html index.htm;
    }
    location ~ .php$ {
      root /data/web_data/web/app/zg_cat/www/;
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_index index.html;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_param SCRIPT_NAME $fastcgi_script_name;
      include fastcgi_params;
     }
    location /php-fpm_status {
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_param SCRIPT_NAME $fastcgi_script_name;
      include fastcgi_params;
      }
    }
  • 相关阅读:
    ubuntu系统安装初始化脚本
    21_多线程
    20_IO
    19_异常
    18_集合
    17_内部类和常用类
    16_接口
    15_abstract,static,final
    14_面向对象
    13_数组
  • 原文地址:https://www.cnblogs.com/happlyp/p/6009559.html
Copyright © 2011-2022 走看看