nginx - When Jenkins execute another SSH on a symlinked folder, php files are changed but not reflected on the web -
i created symlinked folder using ssh on ubuntu 14.04 server named webserver.
ln -s /var/virtual/original /var/virtual/symlink inside /var/virtual/original, there abc.php has content in it.
i triggered jenkins connect remotely same server using ssh well.
it execute command on webserver.
mkdir /var/virtual/new-folder cd /var/virtual/new-folder && touch abc.php rm /var/virtual/symlink ln -s /var/virtual/new-folder /var/virtual/symlink i notice if open ssh shell , @ /var/virtual/symlink , trigger jenkins, command while executed, replace abc.php.
however, when visit website via browser, there no change detected.
when not @ /var/virtual/symlink , trigger jenkins, change done.
i using nginx , php5-fpm , did set disable symlinks off; sendfile off;
what explain this?
Comments
Post a Comment