Skip to content

Commit

Permalink
Add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
thueske committed Jun 30, 2024
1 parent 128248e commit 097f54e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions conf/nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ server {
}

location /purge-all {
if ($purge_method) {
allow 127.0.0.1;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
limit_except PURGE {
deny all;
perl purge::purge;
}
allow 127.0.0.1;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
deny all;
perl purge::purge;
}

location ~ \.php$ {
Expand Down

0 comments on commit 097f54e

Please sign in to comment.