Skip to content

Commit d378785

Browse files
committed
Remove auth from purge cache since it will always be called from server (already authenticated)
1 parent ef821ab commit d378785

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

nginx/templates/servers.conf.template

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ server {
6060
listen 1810;
6161

6262
location ~ ^/purge(/.*) {
63-
auth_request /auth;
6463
proxy_cache_purge vector_cache $1$is_args$args;
6564
}
66-
67-
location = /auth {
68-
internal;
69-
proxy_pass http://payload:3000/auth;
70-
proxy_pass_request_body off;
71-
proxy_set_header Content-Length "";
72-
proxy_set_header X-Original-URI $request_uri;
73-
}
7465
}

0 commit comments

Comments
 (0)