Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/etc/nginx/conf.d/site.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ server {
allow 127.0.0.1;
allow {{ ansible_default_ipv4.address }};
deny all;
proxy_cache_purge sitecache "$scheme$request_method$host$1";
proxy_cache_purge sitecache "{{ nginx_proxy_cache_key | replace('$request_uri', '$1') }}";
}
{% endif %}

Expand Down Expand Up @@ -398,7 +398,7 @@ server {
allow 127.0.0.1;
allow {{ ansible_default_ipv4.address }};
deny all;
proxy_cache_purge sitecache "$scheme$request_method$host$1";
proxy_cache_purge sitecache "{{ nginx_proxy_cache_key | replace('$request_uri', '$1') }}";
}
{% endif %}

Expand Down
Loading