Skip to content

Commit

Permalink
add guppy csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
mfshao committed Dec 15, 2023
1 parent a6340ec commit 07a044b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kube/services/revproxy/gen3.nginx.conf/guppy-service.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
location /guppy/ {
if ($csrf_check !~ ^ok-\S.+$) {
return 403 "failed csrf check";
}

proxy_connect_timeout 600s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;
Expand Down

0 comments on commit 07a044b

Please sign in to comment.