Skip to content

Commit

Permalink
fix: proxy.conf を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed May 6, 2024
1 parent eef38b0 commit 3092207
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 3092207

Please sign in to comment.