-
Notifications
You must be signed in to change notification settings - Fork 81
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
Opinion: For Rails app configuration expecting all conf files in shared/config #2
Comments
Hi Richard, Being primarily a rails developer, I too would like to have nginx config file in my app shared directory. The reason I haven't done this so far is the lack of knowledge from the sysadmin standpoint. For example, what if keeping nginx config file in So, before taking an action on this (one that I would like to take), I'll first investigate it and answer a question: are there benefits to keeping the nginx config file in Let me know if you find a resource related to this. |
Agreed, if a sysadmins doesn't see something in sites-available they will be out of their comfort zone. What about 2 symlinks..
That way a sysadmin would be able to follow what was happening as he would have a 'normal' setup of a config file in sites-available and sites-enabled and could remove sites-enabled and have an effect. While programmers could keep everything in one directory. Obviously a big assed sign saying 'Deployed by Capistrano' to help them get their bearings. If you think that's an interesting idea we can run it by the other project and see what they think. Basically more people will understand but the process is less robust. Of course you might not want to try the idea of someone who uninstalls using rm -rf ~/apps/project name :-) rich |
I opened a question here: kalys/capistrano-nginx-unicorn#21 I see the idea behind 2 symlinks. That seems like a "lot of work".. but we'll see when we learn more about this. |
Thanks Bruno! I will listen with interest. On Wed, Apr 9, 2014 at 3:01 PM, Bruno Sutic [email protected]:
|
Opinion:
I was expecting all configuration files in shared/config and then sym-link to the appropriate directories ... nginx/sites-available say.
This allows me to go to home/myapp/shared/config to check all my configuration files rather than hopping around the Ubuntu system (I mean really am I supposed to remember /etc/nginx/sites-available :-) ).
The text was updated successfully, but these errors were encountered: