Skip to content

Commit

Permalink
RELEASE 1.1.11
Browse files Browse the repository at this point in the history
proxy_no_cache for no-caching templates
  • Loading branch information
1thorsten committed Dec 11, 2021
1 parent 51277ad commit 96fccbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion incontainer/nginx-config/location-dav-no-cache.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
#auth_basic "__RESOURCE_NAME__ restricted";
#auth_basic_user_file /etc/nginx/htpasswd_dav___RESOURCE_NAME__;

proxy_no_cache 1;
proxy_http_version 1.1;
}
}
1 change: 1 addition & 0 deletions incontainer/nginx-config/location-http-no-cache.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#auth_basic "__RESOURCE_NAME__ restricted";
#auth_basic_user_file /etc/nginx/htpasswd_http___RESOURCE_NAME__;

proxy_no_cache 1;
proxy_http_version 1.1;
if ($args ~ share) {
rewrite_by_lua_block {
Expand Down
1 change: 1 addition & 0 deletions incontainer/nginx-config/location-proxy-direct.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
location /__PROXY_NAME__/ {
autoindex on;

proxy_no_cache 1;
proxy_pass __PROXY_URL__;
proxy_http_version 1.1;
proxy_set_header Host $host;
Expand Down

0 comments on commit 96fccbc

Please sign in to comment.