diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml index 5b77eb099..a1596048c 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/cluster-wide-apps/app-of-other-apps/argo-workflows-reverse-proxy.yaml @@ -34,15 +34,13 @@ metadata: namespace: argocd data: proxy.conf: | - http { - server { - listen 80; - server_name argo-workflows-webhook.onp-k8s.admin.seichi.click; - location / { - if ($request_method !~ ^(POST)$ ) { - return 405; - } - proxy_pass http://argo-workflows-server.argo:2746; + server { + listen 80; + server_name argo-workflows-webhook.onp-k8s.admin.seichi.click; + location / { + limit_except POST { + deny all; } + proxy_pass http://argo-workflows-server.argo:2746; } }