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 98d1ee5 commit a9cadb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion conf/nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ server {
}

location /purge-all {
limit_except PURGE {
limit_except DELETE {
deny all;
}
allow 127.0.0.1;
Expand Down
5 changes: 0 additions & 5 deletions conf/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

map $request_method $purge_method {
default 0;
PURGE 1;
}

map $http_accept $webp_suffix {
default "";
"~*webp" ".webp";
Expand Down

0 comments on commit a9cadb2

Please sign in to comment.