Open norenma opened 7 years ago
I'm afraid the capistrano-unicorn-nginx gem only creates the respective site configurations in /etc/nginx/sites-available
rather than the actual nginx.conf
file.
You should try to reinstall the nginx package with the package manager of your OS.
I have accidentally removed the nginx.conf file on my server, and when I run "sudo bundle exec cap production setup" no new file is created. The etc/nginx folder is owned by root but the commands in 'sudo bundle exec cap production setup' runs with sudo, and I have a gem to enter my sudo password.
Is there a way to make sure that the file is being created?
Thanks in advance, Markus