Skip to content

Commit 9b9eb6a

Browse files
Disabled NGINX proxy cache in default template
1 parent 25e161c commit 9b9eb6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby/nginx/templates/nginx.conf.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ server {
5858
location @<%= name %> {
5959
proxy_pass http://<%= name %>;
6060
proxy_http_version 1.1;
61-
proxy_cache_bypass $http_upgrade;
61+
proxy_no_cache 1;
62+
proxy_cache_bypass 1;
6263

6364
<% if options[:ssl] %>
6465
# proxy SSL

0 commit comments

Comments
 (0)