瀏覽代碼

Fix ngixn config: symlink in a dir that already exists now

Félix Piédallu 1 年之前
父節點
當前提交
cd942cff5e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      conf/nginx.conf
  2. 1 1
      conf/php-fpm.conf

+ 1 - 1
conf/nginx.conf

@@ -2,7 +2,7 @@
 location __PATH__/ {
 
   # Path to source
-  alias __INSTALL_DIR__/;
+  alias __INSTALL_DIR__/zabbix/;
 
   index index_http.php;
 

+ 1 - 1
conf/php-fpm.conf

@@ -358,7 +358,7 @@ request_terminate_timeout = 1d
 ; Chdir to this directory at the start.
 ; Note: relative path can be used.
 ; Default Value: current directory or / when chroot
-chdir = __INSTALL_DIR__
+chdir = __INSTALL_DIR__/zabbix
 
 ; Redirect worker stdout and stderr into main error log. If not set, stdout and
 ; stderr will be redirected to /dev/null according to FastCGI specs.