浏览代码

nginx配置

fuyu 5 年之前
父节点
当前提交
e68d6c878c
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      conf.d/api.conf
  2. 2 2
      conf.d/manage.conf

+ 2 - 2
conf.d/api.conf

@@ -33,8 +33,8 @@ server {
         set $path_info  $2;
     }
 		fastcgi_read_timeout 120;
-		#fastcgi_pass 127.0.0.1:9000;
-    fastcgi_pass    unix:/usr/local/php/var/run/php-fpm.sock;
+		fastcgi_pass 127.0.0.1:9000;
+    # fastcgi_pass    unix:/usr/local/php/var/run/php-fpm.sock;
     fastcgi_index index.php;
 		#fastcgi_index   index.php?IF_REWRITE=1;
     fastcgi_param   PATH_INFO       $path_info;

+ 2 - 2
conf.d/manage.conf

@@ -33,8 +33,8 @@ server {
         set $path_info  $2;
     }
 		fastcgi_read_timeout 120;
-		#fastcgi_pass 127.0.0.1:9000;
-    fastcgi_pass    unix:/usr/local/php/var/run/php-fpm.sock;
+		fastcgi_pass 127.0.0.1:9000;
+    # fastcgi_pass    unix:/usr/local/php/var/run/php-fpm.sock;
     fastcgi_index index.php;
 		#fastcgi_index   index.php?IF_REWRITE=1;
     fastcgi_param   PATH_INFO       $path_info;