Files
WeReadBoard/deploy/nginx-github-webhook.conf

13 lines
396 B
Plaintext

# 放入现有 laohang.space HTTPS server 块中。
location = /github/webhook {
proxy_pass http://127.0.0.1:9001/github/webhook;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location = /github/webhook-health {
proxy_pass http://127.0.0.1:9001/health;
proxy_set_header Host $host;
}