You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@thiagotalma It's a very nice collection, however all of these files are basically static. Ansible templates offer you dynamic generation of config files with includes, variables, if/then/else statements, loops, etc. Of course some of the common configuration sections could be moved to a shared configuration snippet in /etc/nginx/snippets/ directory which is then included in the finished server config file (for example ACME support is done that way), but I don't think that many parts of the server configuration could be like that. For example, each server usually has its own set of SSL certificates, moving that to a shared, included snippet would break that functionality.
The configs you linked could be used to add some useful configuration in debops.nginx templates, but I don't see the role switching to them completely.
Hello @drybjed
When you have the time, take a look at this project: https://github.com/h5bp/server-configs-nginx
What do you think the role debops.nginx be based (usign your snippets) in this excellent project?
Cheers!
The text was updated successfully, but these errors were encountered: