I have this weird issue that was not happening before.
I am running a Ubuntu Box on Digital Ocean that uses NGINX and PHP-FPM. I also use PHP Deployer to deploy code between Stage and Prod.
Deployer uses symlinks to tell the server where the files are in this case /var/www/mydommain.com/current
would be the symlink that points to /var/www/mydomain.com/releases/26
.
That is all good and if I do cd /var/www/mydomain.com/current
it will change to releases/26
. The website however is still pointing to releases/25
. I have restarted NGINX and PHP-FPM multiple time without success.
Why is NGINX still pointing to releases/25
when the symlink actually points to releases/26
? I can't get it.
In NGINX config for this domain I have root /var/www/mydomain.com/current