Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nginx/templates/nginx.conf.erb

Issue 29373603: Noissue - Ensure Nginx modules being loaded in old Ubuntu precise setups (Closed)
Patch Set: Created Jan. 24, 2017, 5:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/templates/nginx.conf.erb
===================================================================
--- a/modules/nginx/templates/nginx.conf.erb
+++ b/modules/nginx/templates/nginx.conf.erb
@@ -1,5 +1,8 @@
user <%= scope.lookupvar('nginx::params::user') %> <%= scope.lookupvar('nginx::params::group') %>;
worker_processes <%= worker_processes %>;
+<% if scope.lookupvar('lsbdistcodename') == 'precise' -%>
+include /etc/nginx/modules-enabled/*.conf;
+<% end -%>
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld