Procházet zdrojové kódy

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

Félix Piédallu před 1 rokem
rodič
revize
cd942cff5e
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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.