Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx.conf is not generated on 'cap production setup' #99

Open
norenma opened this issue Jan 15, 2017 · 1 comment
Open

nginx.conf is not generated on 'cap production setup' #99

norenma opened this issue Jan 15, 2017 · 1 comment

Comments

@norenma
Copy link

norenma commented Jan 15, 2017

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

@wynksaiddestroy
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants