Yuvipanda has submitted this change and it was merged.

Change subject: ores: Don't include proxy cache temp path when cache is turned 
off
......................................................................


ores: Don't include proxy cache temp path when cache is turned off

Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
---
M modules/ores/templates/lb.nginx.erb
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/modules/ores/templates/lb.nginx.erb 
b/modules/ores/templates/lb.nginx.erb
index 1970330..408c668 100644
--- a/modules/ores/templates/lb.nginx.erb
+++ b/modules/ores/templates/lb.nginx.erb
@@ -8,9 +8,10 @@
 <% if @cache -%>
 proxy_cache_path /srv/nginx/cache/ keys_zone=ores:64m;
 proxy_cache_valid 7d;
-<% end %>
 
 proxy_temp_path /srv/nginx/tmp/;
+<% end %>
+
 server {
     listen 80;
 

-- 
To view, visit https://gerrit.wikimedia.org/r/216428
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to