Skip to content

Commit

Permalink
add csrf guppy (#2425)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfshao authored Dec 11, 2023
1 parent eaf04bf commit df000c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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,7 @@
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 df000c3

Please sign in to comment.