Skip to content

Commit

Permalink
Merge pull request #1960 from GiganticMinecraft/fix/argo-workflows-re…
Browse files Browse the repository at this point in the history
…verse-proxy

fix: proxy.conf を修正
  • Loading branch information
outductor authored May 6, 2024
2 parents 32eec53 + 3092207 commit bdcfc9e
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit bdcfc9e

Please sign in to comment.